|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.test.cachetest.TestAndResult
public class TestAndResult
Contains the configuration parameters and the result
Field Summary | |
---|---|
protected double |
actualRunningTimeSec
|
protected Queue |
cacheimpl
|
protected long |
iterationsPerformed
|
protected int |
minutesTorun
|
protected InstanceFactory |
objfactory
|
protected boolean |
systemErrprintCalibration
|
protected int |
threadcount
|
protected double |
threadpoolStartStopOverhead
|
Constructor Summary | |
---|---|
TestAndResult(Queue cacheimpl,
InstanceFactory objfactory,
int threadcount,
int minutesTorun)
|
|
TestAndResult(Queue cacheimpl,
InstanceFactory objfactory,
int threadcount,
int minutesTorun,
boolean systemErrprintCalibration)
|
Method Summary | |
---|---|
double |
getActualRunningTimeSec()
|
Queue |
getCacheimpl()
null if no cache is used |
long |
getIterationsPerformed()
number of actual iterations performed during the test. |
long |
getKiloThroughput()
Kilo instances/sec |
int |
getMinutesTorun()
configured running time in minutes |
InstanceFactory |
getObjfactory()
|
String |
getResultInText()
|
int |
getThreadcount()
|
double |
getThreadpoolStartStopOverhead()
the overhead in seconds for the start to wait for an empty test. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final Queue cacheimpl
protected final InstanceFactory objfactory
protected final int threadcount
protected final int minutesTorun
protected final boolean systemErrprintCalibration
protected double threadpoolStartStopOverhead
protected double actualRunningTimeSec
protected long iterationsPerformed
Constructor Detail |
---|
public TestAndResult(Queue cacheimpl, InstanceFactory objfactory, int threadcount, int minutesTorun)
cacheimpl
- Queue
null if no cache is to be usedobjfactory
- InstanceFactory
threadcount
- minutesTorun
- no smaller time unit then minutes is allowed, we want as valid results as possiblepublic TestAndResult(Queue cacheimpl, InstanceFactory objfactory, int threadcount, int minutesTorun, boolean systemErrprintCalibration)
cacheimpl
- null if no cache is to be usedobjfactory
- InstanceFactory
threadcount
- minutesTorun
- no smaller time unit then minutes is allowed, we want as valid results as possibleprintCalibration
- Method Detail |
---|
public long getKiloThroughput()
public String getResultInText()
public String toString()
toString
in class Object
public double getThreadpoolStartStopOverhead()
public double getActualRunningTimeSec()
public Queue getCacheimpl()
public long getIterationsPerformed()
public int getMinutesTorun()
public InstanceFactory getObjfactory()
InstanceFactory
public int getThreadcount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |