jp.co.scs.mbench
クラス BenchmarkInfo

java.lang.Object
  上位を拡張 jp.co.scs.mbench.BenchmarkInfo

public class BenchmarkInfo
extends java.lang.Object

Bean for the benchmark component

作成者:
Tetsuro Ikeda, Masato Koga

コンストラクタの概要
BenchmarkInfo()
           
 
メソッドの概要
 long getBenchmarkEndTime()
          Gets the benchmark end time.
 long getBenchmarkStartTime()
          Gets the benchmark start time.
 java.lang.String getClassName()
          gets the FQCN of the benchmark component.
 java.lang.String getName()
          gets the benchmark component name
 int getRepeatNumber()
          gets the repeat number for each container.
 int getThreadNumber()
          Gets the threads number.
 int getTransactionNumber()
          Gets the transaction number of all benchmark
 void setBenchmarkEndTime(long benchmarkEndTime)
          Sets the benchmark end time.
 void setBenchmarkStartTime(long benchmarkStartTime)
          Sets the benchmark start time.
 void setClassName(java.lang.String className)
          sets the FQCN of the benchmark component.
 void setName(java.lang.String benchmarkName)
          sets the bechmark component name
 void setRepeatNumber(int repeatNumber)
          sets the repeat number for each container.
 void setThreadNumber(int threadNumber)
          Sets the threads number.
 void setTransactionNumber(int transactionNumber)
          Sets the transaction number of all benchmark
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BenchmarkInfo

public BenchmarkInfo()
メソッドの詳細

getName

public java.lang.String getName()
gets the benchmark component name

戻り値:
component name

setName

public void setName(java.lang.String benchmarkName)
sets the bechmark component name

パラメータ:
benchmarkName - component name

getClassName

public java.lang.String getClassName()
gets the FQCN of the benchmark component.

戻り値:
FQCN of the benchmark component

setClassName

public void setClassName(java.lang.String className)
sets the FQCN of the benchmark component.

パラメータ:
className - FQCN of the benchmark component.

getRepeatNumber

public int getRepeatNumber()
gets the repeat number for each container. default is 10.

戻り値:
repeat number

setRepeatNumber

public void setRepeatNumber(int repeatNumber)
sets the repeat number for each container.

パラメータ:
repeatNumber - repeat number

getThreadNumber

public int getThreadNumber()
Gets the threads number. Each thread holds one container. Default is 2.

戻り値:
threads number

setThreadNumber

public void setThreadNumber(int threadNumber)
Sets the threads number. Each thread holds one container.

パラメータ:
threadNumber - threads number

getTransactionNumber

public int getTransactionNumber()
Gets the transaction number of all benchmark

戻り値:
transaction number of all benchmark

setTransactionNumber

public void setTransactionNumber(int transactionNumber)
Sets the transaction number of all benchmark

パラメータ:
transactionNumber - transaction number of all benchmark

getBenchmarkStartTime

public long getBenchmarkStartTime()
Gets the benchmark start time.

戻り値:
benchmark start time

setBenchmarkStartTime

public void setBenchmarkStartTime(long benchmarkStartTime)
Sets the benchmark start time.

パラメータ:
benchmarkStartTime - benchmark start time

getBenchmarkEndTime

public long getBenchmarkEndTime()
Gets the benchmark end time.

戻り値:
benchmark end time

setBenchmarkEndTime

public void setBenchmarkEndTime(long benchmarkEndTime)
Sets the benchmark end time.

パラメータ:
benchmarkEndTime - benchmark end time