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 byUimaTimer
The Class JavaTimer.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
end
Deprecated.The end.private static long
serialVersionUID
Deprecated.The Constant serialVersionUID.private long
start
Deprecated.The start.
-
Constructor Summary
Constructors Constructor Description JavaTimer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
end()
Deprecated.End.long
getDuration()
Deprecated.Gets the duration.long
getResolution()
Deprecated.Gets the resolution.private long
getTime()
Deprecated.Gets the time.long
getTimeInMicros()
Deprecated.Gets the time in micros.long
getTimeInMillis()
Deprecated.Gets the time in millis.long
getTimeInSecs()
Deprecated.Gets the time in secs.void
start()
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: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
-
-