|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.jmx.adaptor.snmp.agent.Clock
Utility class that provides time keeping from the time of instantiation. Can be queried for time readings since the last incarnation in msecs.
Constructor Summary | |
Clock()
CTOR - creates time counter with zeroed out clock |
Method Summary | |
long |
instantiationTime()
Returns the difference, measured in milliseconds, between the instantiation time and midnight, January 1, 1970 UTC. |
long |
uptime()
Returns the elapsed time in msecs from the time of instantiation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Clock()
Method Detail |
public long instantiationTime()
public long uptime()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |