|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Thread
jp.co.scs.mbench.BenchmarkManager
public class BenchmarkManager
The Benchmark Manager Class.
入れ子のクラスの概要 |
---|
クラス java.lang.Thread から継承された入れ子のクラス/インタフェース |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
フィールドの概要 |
---|
クラス java.lang.Thread から継承されたフィールド |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
コンストラクタの概要 | |
---|---|
BenchmarkManager(java.lang.String benchmarkName)
Creates a benchmark manager instance with benchmark name. |
メソッドの概要 | |
---|---|
void |
addTerminatedContainer(BenchmarkContainer container)
Adds the containers to list which are not finished normally for timeout or throwing exception. |
BenchmarkContainer[] |
getBenchmarkContainers()
Gets the benchmark containers. |
BenchmarkInfo |
getBenchmarkInfo()
Gets the benchmark information. |
java.lang.String |
getBenchmarkName()
Gets the benchmark name. |
long |
getBenchmarkTimeout()
Gets the benchmark timeout (milliseconds) |
java.lang.String |
getCurrentState()
Gets the current state |
DataWriter |
getDataWriter()
Gets the data log handler. |
LogWriter |
getLogWriter()
Gets the system log handler. |
java.lang.Integer |
getManagerID()
Gets the ID of this manager. |
java.util.Map |
getOptionMap()
Gets the options |
int |
getSocketTimeout()
Gets the timeout (milliseconds) for communicating in multiple node benchmark. |
Synchronizer |
getSynchronizer()
Gets the synchronizer |
java.util.List |
getTerminatedContainers()
Gets the containers list which are not finished normally for timeout or throwing exception. |
void |
run()
Run the benchmark. |
void |
setBenchmarkContainers(BenchmarkContainer[] containers)
Sets the benchmark containers. |
void |
setBenchmarkInfo(BenchmarkInfo info)
Sets the benchmark information. |
void |
setBenchmarkName(java.lang.String benchmarkName)
Sets the benchmark name |
void |
setBenchmarkTimeout(long benchmarkTimeout)
Sets the benchmark timeout (milliseconds). |
void |
setCurrentState(java.lang.String currentState)
Sets the current state |
void |
setDataWriter(DataWriter dataWriter)
Sets the data log handler. |
void |
setLogWriter(LogWriter logWriter)
Sets the system log handler. |
void |
setManagerID(java.lang.Integer managerID)
Sets the ID of this manager. |
void |
setOptionMap(java.util.Map optionMap)
Sets the options. |
void |
setSocketTimeout(int socketTimeout)
Sets the timeout (milliseconds) for communicating in multiple node benchmark. |
void |
setSynchronizer(Synchronizer synchronizer)
Sets the synchronizer |
クラス java.lang.Thread から継承されたメソッド |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public BenchmarkManager(java.lang.String benchmarkName)
benchmarkName
- benchmark nameメソッドの詳細 |
---|
public java.lang.Integer getManagerID()
public void setManagerID(java.lang.Integer managerID)
managerID
- manager IDpublic java.lang.String getBenchmarkName()
public void setBenchmarkName(java.lang.String benchmarkName)
benchmarkName
- benchmark namepublic java.util.Map getOptionMap()
public void setOptionMap(java.util.Map optionMap)
optionMap
- optionspublic BenchmarkInfo getBenchmarkInfo()
public void setBenchmarkInfo(BenchmarkInfo info)
info
- benchmark informationpublic java.lang.String getCurrentState()
public void setCurrentState(java.lang.String currentState)
currentState
- current statepublic void setSocketTimeout(int socketTimeout)
socketTimeout
- timeout (milliseconds)public int getSocketTimeout()
public void setLogWriter(LogWriter logWriter)
logWriter
- system log handlerpublic LogWriter getLogWriter()
public void setDataWriter(DataWriter dataWriter)
dataWriter
- data log handlerpublic DataWriter getDataWriter()
public void setSynchronizer(Synchronizer synchronizer)
synchronizer
- synchronizerpublic Synchronizer getSynchronizer()
public void setBenchmarkContainers(BenchmarkContainer[] containers)
containers
- benchmark containerspublic BenchmarkContainer[] getBenchmarkContainers()
public void addTerminatedContainer(BenchmarkContainer container)
container
- containerpublic java.util.List getTerminatedContainers()
public void setBenchmarkTimeout(long benchmarkTimeout)
benchmarkTimeout
- timeout (milliseconds)public long getBenchmarkTimeout()
public void run()
java.lang.Runnable
内の run
java.lang.Thread
内の run
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |