com.tc.cache
Interface ExpirableEntry


public interface ExpirableEntry


Method Summary
 int expiresAt(int tti, int ttl)
          Determine when this entry will expire based on the tti/ttl passed in.
 

Method Detail

expiresAt

int expiresAt(int tti,
              int ttl)
Determine when this entry will expire based on the tti/ttl passed in. Entries with custom tti/ttl can chose to ignore the passed in values.

Returns:
The timestamp (in seconds since the epoch) when this value will expire. May return Integer.MAX_VALUE if it will never expire.


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