CoherenceTM v3.4
Copyright© 2000-2008 by Oracle Corporation

com.tangosol.net.cache
Class SerializationCache.EntryAttributes

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.cache.SerializationCache.EntryAttributes
Enclosing class:
SerializationCache

protected class SerializationCache.EntryAttributes
extends Base

A class that holds on to the expiry time and touch order for an entry.


Constructor Summary
SerializationCache.EntryAttributes(long ldtExpires, long nTouch)
          Construct an attribute holder for an entry.
 
Method Summary
 long getExpiryTime()
          Determine the date/time at which the entry expires.
 long getTouchCount()
          Determine the absolute order of the entry within in the LRU list.
 

Constructor Detail

SerializationCache.EntryAttributes

public SerializationCache.EntryAttributes(long ldtExpires,
                                          long nTouch)
Construct an attribute holder for an entry.

Parameters:
ldtExpires - the date/time at which the entry expires, or zero
nTouch - the touch counter assigned to the entry
Method Detail

getExpiryTime

public long getExpiryTime()
Determine the date/time at which the entry expires.

Returns:
the system time at which the corresponding entry expires, or zero if the entry never expires

getTouchCount

public long getTouchCount()
Determine the absolute order of the entry within in the LRU list.

Returns:
the touch counter assigned to the corresponding entry

CoherenceTM v3.4
Copyright© 2000-2008 by Oracle Corporation