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 longDeprecated.The end.private static final longDeprecated.The Constant serialVersionUID.private longDeprecated.The start. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidend()Deprecated.End.longDeprecated.Gets the duration.longDeprecated.Gets the resolution.private longgetTime()Deprecated.Gets the time.longDeprecated.Gets the time in micros.longDeprecated.Gets the time in millis.longDeprecated.Gets the time in secs.voidstart()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:TimerStart. -
end
public void end()Deprecated.Description copied from interface:TimerEnd. -
getResolution
public long getResolution()Deprecated.Description copied from interface:TimerGets the resolution.- Specified by:
getResolutionin interfaceTimer- Returns:
- the resolution
-
getDuration
public long getDuration()Deprecated.Description copied from interface:TimerGets the duration.- Specified by:
getDurationin interfaceTimer- Returns:
- the duration
-
getTime
private long getTime()Deprecated.Gets the time.- Returns:
- the time
-
getTimeInSecs
public long getTimeInSecs()Deprecated.Description copied from interface:TimerGets the time in secs.- Specified by:
getTimeInSecsin interfaceTimer- Returns:
- the time in secs
-
getTimeInMillis
public long getTimeInMillis()Deprecated.Description copied from interface:TimerGets the time in millis.- Specified by:
getTimeInMillisin interfaceTimer- Returns:
- the time in millis
-
getTimeInMicros
public long getTimeInMicros()Deprecated.Description copied from interface:TimerGets the time in micros.- Specified by:
getTimeInMicrosin interfaceTimer- Returns:
- the time in micros
-
UimaTimer