Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
StatsContainer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
fatalError()
fatal error
|
void |
fromXML(String xml) |
void |
newInvocation()
new invocation
|
void |
producedResults(long results)
results produced
|
void |
productionRate(float time)
mean production rate
|
void |
run() |
void |
timeToComplete(long time)
mean time for complete
|
void |
timeToFirst(long time)
mean time for first result
|
void |
timeToFirstInput(long time)
mean time for first input
|
void |
timeToInitialize(long time)
mean time for initialization
|
void |
timeToReference(long time)
mean time for reference
|
String |
toXML()
generates an xml serialization of the statistics
|
void |
writeToRI()
Writes the statistics to the RI profile
|
activeCount, checkAccess, clone, 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, yieldpublic StatsContainer()
RItoKeepStatsFor - the RI to keep statistics forpublic void newInvocation()
public void fatalError()
public void timeToReference(long time)
time - time in millisecspublic void timeToComplete(long time)
time - time in millisecspublic void timeToInitialize(long time)
time - time in millisecspublic void producedResults(long results)
results - number of resultspublic void timeToFirst(long time)
time - time in millisecspublic void productionRate(float time)
time - time in millisecspublic void timeToFirstInput(long time)
time - time in millisecspublic void writeToRI()
public void run()
run in interface Runnablerun in class ThreadRunnable.run()public String toXML()
Copyright © 2017. All Rights Reserved.