|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.gcube.indexmanagement.featureindexlibrary.commons.FeatureIndexStatsContainer
public class FeatureIndexStatsContainer
Statistics container
| 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 | |
|---|---|
FeatureIndexStatsContainer(String ServiceClass,
String ServiceName,
ServiceContextContainer ServiceContextCont)
Constructor |
|
| Method Summary | |
|---|---|
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 |
| 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 FeatureIndexStatsContainer(String ServiceClass,
String ServiceName,
ServiceContextContainer ServiceContextCont)
ServiceClass - the Service classServiceName - the service name| Method Detail |
|---|
public 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 results
public void writeToRI()
throws Exception
Exception - the ri could not be updatedpublic void run()
run in interface Runnablerun in class ThreadRunnable.run()public String toXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||