|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCoherenceApplicationEdition
com.tangosol.net.cache.ReadWriteBackingMap.ReadQueue
public class ReadWriteBackingMap.ReadQueue
A queue of keys that should be read from the underlying CacheStore.
Constructor Summary | |
---|---|
protected |
ReadWriteBackingMap.ReadQueue()
Construct a ReadQueue. |
Method Summary | |
---|---|
boolean |
add(Object oKey)
Add a key to the queue. |
void |
clear()
Remove all keys from the queue. |
protected List |
getKeyList()
Return a list of keys in the queue. |
protected Map |
getKeyMap()
Return a map of keys in the queue. |
Object |
peek()
Wait for a key to be added to the queue and return it without removing it from the queue. |
boolean |
remove(Object oKey)
Remove a key from the queue if the key is in the queue. |
protected ReadWriteBackingMap.ReadLatch |
select(long cWaitMillis)
Select the next key from the refresh-ahead queue that is a candidate for an asynchronous load. |
String |
toString()
For debugging purposes, present the queue in human-readable format. |
Constructor Detail |
---|
protected ReadWriteBackingMap.ReadQueue()
Method Detail |
---|
public boolean add(Object oKey)
oKey
- the key object
public Object peek()
public boolean remove(Object oKey)
oKey
- the key object
protected ReadWriteBackingMap.ReadLatch select(long cWaitMillis)
cWaitMillis
- the maximum amount of time (in milliseconds) to
wait for a lock on the key to be acquired
public void clear()
public String toString()
protected List getKeyList()
protected Map getKeyMap()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |