Oracle® Coherence Java API Reference
v3.5.3

E15583-01

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:
java.io.Serializable, java.lang.Cloneable, java.util.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(java.lang.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(java.lang.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

Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.