|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UimaTimer
Interface for a timer, used to collect performance statistics for UIMA components. A default
Timer implementation can be obtained by calling UIMAFramework.newTimer()
.
A Timer implementation can also be specified in a
CollectionProcessingEngine
descriptor.
Method Summary | |
---|---|
long |
getDuration()
Gets the time between the last call to stopIt() and the last call to startIt(). |
int |
getResolution()
Gets the timer resolution in milliseconds. |
long |
getTimeInMicros()
Gets the current time in microseconds. |
long |
getTimeInMillis()
Gets the current time in milliseconds. |
long |
getTimeInSecs()
Gets the current time in seconds. |
long |
startIt()
Starts the timer. |
long |
stopIt()
Stops the timer. |
Method Detail |
---|
long startIt()
long stopIt()
long getDuration()
long getTimeInSecs()
long getTimeInMillis()
long getTimeInMicros()
int getResolution()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |