|
|||||||||
| Home >> All >> org >> apache >> jorphan >> [ timer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.jorphan.timer
Class JavaSystemTimer

java.lang.Objectorg.apache.jorphan.timer.AbstractTimer
org.apache.jorphan.timer.JavaSystemTimer
- All Implemented Interfaces:
- ITimer, ITimerConstants
- final class JavaSystemTimer
- extends AbstractTimer
A package-private implementation of ITimer based around Java system
timer [System.currentTimeMillis() method]. It is used when
HRTimer implementation is unavailable.
TimerFactory acts as the Factory for this class.
MT-safety: an instance of this class is safe to be used within the same thread only.
- Version:
- $Revision: 1.5 $
| Field Summary |
| Fields inherited from class org.apache.jorphan.timer.AbstractTimer |
STATE_NAMES, STATE_READY, STATE_STARTED, STATE_STOPPED |
| Constructor Summary | |
(package private) |
JavaSystemTimer()
|
| Method Summary | |
protected double |
getCurrentTime()
|
| Methods inherited from class org.apache.jorphan.timer.AbstractTimer |
getDuration, reset, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
JavaSystemTimer
JavaSystemTimer()
| Method Detail |
getCurrentTime
protected double getCurrentTime()
- Specified by:
getCurrentTimein classAbstractTimer
|
|||||||||
| Home >> All >> org >> apache >> jorphan >> [ timer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC