org.ehcache.core.spi.time
Class SystemTimeSource

java.lang.Object
  extended by org.ehcache.core.spi.time.SystemTimeSource
All Implemented Interfaces:
TimeSource

public class SystemTimeSource
extends java.lang.Object
implements TimeSource

The standard TimeSource that uses System.currentTimeMillis()


Field Summary
static TimeSource INSTANCE
           
 
Method Summary
 long getTimeMillis()
          The current "time" in milliseconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TimeSource INSTANCE
Method Detail

getTimeMillis

public long getTimeMillis()
Description copied from interface: TimeSource
The current "time" in milliseconds

Specified by:
getTimeMillis in interface TimeSource