CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.net.cache
Class ReadWriteBackingMap.WriteQueue.Entry

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.SimpleMapEntry
          extended by com.tangosol.net.cache.ReadWriteBackingMap.WriteQueue.Entry
All Implemented Interfaces:
Serializable, Cloneable, Map.Entry
Enclosing class:
ReadWriteBackingMap.WriteQueue

public class ReadWriteBackingMap.WriteQueue.Entry
extends SimpleMapEntry

A queue entry that is scheduled to come out of the front of the queue no earlier than some specific point in time.


Field Summary
 
Fields inherited from class com.tangosol.util.SimpleMapEntry
m_oKey, m_oValue
 
Constructor Summary
ReadWriteBackingMap.WriteQueue.Entry(Object oKey)
          Construct an Entry with just a key.
 
Method Summary
 long getQueuedMillis()
          Determine when the entry was added to the queue.
protected  void setQueuedMillis(long lMillis)
          Specify when the entry was added to the queue.
 
Methods inherited from class com.tangosol.util.SimpleMapEntry
clone, equals, getKey, getValue, hashCode, setValue, toString
 

Constructor Detail

ReadWriteBackingMap.WriteQueue.Entry

public ReadWriteBackingMap.WriteQueue.Entry(Object oKey)
Construct an Entry with just a key.

Parameters:
oKey - an object for the key
Method Detail

getQueuedMillis

public long getQueuedMillis()
Determine when the entry was added to the queue.

Returns:
the time at which the entry was added to the queue

setQueuedMillis

protected void setQueuedMillis(long lMillis)
Specify when the entry was added to the queue. This property is immutable once set.

Parameters:
lMillis - the time when the entry was added

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation