Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.timer
Class SystemTimeClock

java.lang.Object
  extended by org.hyperic.util.timer.SystemTimeClock
All Implemented Interfaces:
Clock

public class SystemTimeClock
extends java.lang.Object
implements Clock

A singleton clock that bases the current time off the system time.


Method Summary
 long currentTimeMillis()
           
static Clock getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Clock getInstance()
Returns:
The clock instance.

currentTimeMillis

public long currentTimeMillis()
Specified by:
currentTimeMillis in interface Clock
Returns:
The current time in milliseconds.
See Also:
Clock.currentTimeMillis()

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.