|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer
public class StatsContainer
Generic class containing statistic information
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
StatsContainer()
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatsContainer()
RItoKeepStatsFor - the RI to keep statistics for| Method Detail |
|---|
public 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()
public void fromXML(String xml)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||