org.terracotta.cache.impl
Interface TimeSource

All Known Implementing Classes:
SystemTimeSource

public interface TimeSource

A source of time for the map when updating timestamps.


Method Summary
 int now()
          Determine the current time, (like System.currentTimeMillis() but in seconds).
 

Method Detail

now

int now()
Determine the current time, (like System.currentTimeMillis() but in seconds).

Returns:
The current time in seconds since the epoch


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.