org.ehcache.internal
Interface TimeSource

All Known Implementing Classes:
SystemTimeSource

public interface TimeSource

A source of wall time. The main purpose of this interface is to allow tests to control time arbitrarily (as opposed to using system time and sleep()'ing to advance time


Method Summary
 long getTimeMillis()
          The current "time" in milliseconds
 

Method Detail

getTimeMillis

long getTimeMillis()
The current "time" in milliseconds