Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
FeatureIndexStatsContainer(String ServiceClass,
String ServiceName,
ServiceContextContainer ServiceContextCont)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRecords(long number)
add operations
|
void |
addRecordsTime(long time)
add records time
|
void |
lookupIndex(long time)
lookup Index
|
void |
lookupResults(long results)
number of results
|
void |
newIndexLookup()
Index lookups
|
void |
newInvocation()
new invocation
|
void |
newRemoval()
new removal
|
void |
removalTime(long time)
removal time
|
void |
run() |
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 FeatureIndexStatsContainer(String ServiceClass, String ServiceName, ServiceContextContainer ServiceContextCont)
ServiceClass - the Service classServiceName - the service namepublic void newInvocation()
public void addRecords(long number)
number - the number of records addedpublic void addRecordsTime(long time)
time - the time of additionpublic void newRemoval()
public void removalTime(long time)
time - the timepublic void newIndexLookup()
public void lookupIndex(long time)
time - the timepublic void lookupResults(long results)
results - lookup resultspublic void writeToRI()
throws Exception
Exception - the ri could not be updatedpublic void run()
run in interface Runnablerun in class ThreadRunnable.run()public String toXML()
Copyright © 2014. All Rights Reserved.