public interface UimaTimer extends Serializable
UIMAFramework.newTimer()
.
A Timer implementation can also be specified in a
CollectionProcessingEngine
descriptor.Modifier and Type | Method and Description |
---|---|
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.
|
long startIt()
long stopIt()
long getDuration()
long getTimeInSecs()
long getTimeInMillis()
long getTimeInMicros()
int getResolution()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.