Class JavaTimer
java.lang.Object
org.apache.uima.collection.impl.cpm.utils.JavaTimer
- All Implemented Interfaces:
Serializable
,Timer
Deprecated.
The Class JavaTimer.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
Deprecated.The end.private static final long
Deprecated.The Constant serialVersionUID.private long
Deprecated.The start. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
Deprecated.End.long
Deprecated.Gets the duration.long
Deprecated.Gets the resolution.private long
getTime()
Deprecated.Gets the time.long
Deprecated.Gets the time in micros.long
Deprecated.Gets the time in millis.long
Deprecated.Gets the time in secs.void
start()
Deprecated.Start.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.The Constant serialVersionUID.- See Also:
-
start
private long startDeprecated.The start. -
end
private long endDeprecated.The end.
-
-
Constructor Details
-
JavaTimer
public JavaTimer()Deprecated.
-
-
Method Details
-
start
public void start()Deprecated.Description copied from interface:Timer
Start. -
end
public void end()Deprecated.Description copied from interface:Timer
End. -
getResolution
public long getResolution()Deprecated.Description copied from interface:Timer
Gets the resolution.- Specified by:
getResolution
in interfaceTimer
- Returns:
- the resolution
-
getDuration
public long getDuration()Deprecated.Description copied from interface:Timer
Gets the duration.- Specified by:
getDuration
in interfaceTimer
- Returns:
- the duration
-
getTime
private long getTime()Deprecated.Gets the time.- Returns:
- the time
-
getTimeInSecs
public long getTimeInSecs()Deprecated.Description copied from interface:Timer
Gets the time in secs.- Specified by:
getTimeInSecs
in interfaceTimer
- Returns:
- the time in secs
-
getTimeInMillis
public long getTimeInMillis()Deprecated.Description copied from interface:Timer
Gets the time in millis.- Specified by:
getTimeInMillis
in interfaceTimer
- Returns:
- the time in millis
-
getTimeInMicros
public long getTimeInMicros()Deprecated.Description copied from interface:Timer
Gets the time in micros.- Specified by:
getTimeInMicros
in interfaceTimer
- Returns:
- the time in micros
-
UimaTimer