Class JavaTimer
- java.lang.Object
-
- org.apache.uima.collection.impl.cpm.utils.JavaTimer
-
- All Implemented Interfaces:
java.io.Serializable,Timer
@Deprecated public class JavaTimer extends java.lang.Object implements Timer, java.io.Serializable
Deprecated.replaced byUimaTimerThe Class JavaTimer.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private longendDeprecated.The end.private static longserialVersionUIDDeprecated.The Constant serialVersionUID.private longstartDeprecated.The start.
-
Constructor Summary
Constructors Constructor Description JavaTimer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidend()Deprecated.End.longgetDuration()Deprecated.Gets the duration.longgetResolution()Deprecated.Gets the resolution.private longgetTime()Deprecated.Gets the time.longgetTimeInMicros()Deprecated.Gets the time in micros.longgetTimeInMillis()Deprecated.Gets the time in millis.longgetTimeInSecs()Deprecated.Gets the time in secs.voidstart()Deprecated.Start.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.The Constant serialVersionUID.- See Also:
- Constant Field Values
-
start
private long start
Deprecated.The start.
-
end
private long end
Deprecated.The end.
-
-
Method Detail
-
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
-
-