| java.lang.Object org.jboss.jmx.adaptor.snmp.agent.Clock
Clock | final public class Clock (Code) | | Utility class that provides time keeping from the time of instantiation.
Can be queried for time readings since the last incarnation in msecs.
version: $Revision: 44599 $ author: Spyros Pollatos author: Dimitris Andreadis |
Constructor Summary | |
public | Clock() |
Method Summary | |
public long | instantiationTime() Returns the difference, measured in milliseconds, between the
instantiation time and midnight, January 1, 1970 UTC. | public long | uptime() Returns the elapsed time in msecs from the time of instantiation. |
Clock | public Clock()(Code) | | CTOR - creates time counter with zeroed out clock
|
instantiationTime | public long instantiationTime()(Code) | | Returns the difference, measured in milliseconds, between the
instantiation time and midnight, January 1, 1970 UTC.
|
uptime | public long uptime()(Code) | | Returns the elapsed time in msecs from the time of instantiation.
|
|
|