|
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.Objectcom.tangosol.net.cache.SerializationPagedCache.WrapperBinaryStore
public class SerializationPagedCache.WrapperBinaryStore
A wrapper BinaryStore implementation that keeps track of its size.
| Constructor Summary | |
|---|---|
SerializationPagedCache.WrapperBinaryStore(BinaryStore store)
Construct a WrapperBinaryStore. |
|
| Method Summary | |
|---|---|
protected void |
checkDestroy()
Test if the underlying store can be destroyed, and if so, destroy it. |
protected void |
close()
Used to specify that the page is no longer current. |
protected void |
destroy()
Destroy the underlying BinaryStore. |
void |
erase(Binary binKey)
Remove the specified key from the underlying store if present. |
void |
eraseAll()
Remove all data from the underlying store. |
BinaryStore |
getBinaryStore()
|
protected Map |
getBinaryStoreKeyMap()
|
int |
getSize()
|
boolean |
isCurrent()
|
Iterator |
keys()
Iterate all keys in the underlying store. |
Binary |
load(Binary binKey)
Return the value associated with the specified key, or null if the key does not have an associated value in the underlying store. |
protected void |
setBinaryStore(BinaryStore store)
Specify the store to wrap. |
void |
store(Binary binKey,
Binary binValue)
Store the specified value under the specific key in the underlying store. |
String |
toString()
Returns a string representation of the object. |
| Constructor Detail |
|---|
public SerializationPagedCache.WrapperBinaryStore(BinaryStore store)
store - the BinaryStore to delegate to| Method Detail |
|---|
public Binary load(Binary binKey)
load in interface BinaryStorebinKey - key whose associated value is to be returned
public void store(Binary binKey,
Binary binValue)
store in interface BinaryStorebinKey - key to store the value underbinValue - value to be storedpublic void erase(Binary binKey)
erase in interface BinaryStorebinKey - key whose mapping is to be removed from the mappublic void eraseAll()
eraseAll in interface BinaryStorepublic Iterator keys()
keys in interface BinaryStorepublic String toString()
public BinaryStore getBinaryStore()
protected void setBinaryStore(BinaryStore store)
store - the wrapped BinaryStorepublic int getSize()
protected Map getBinaryStoreKeyMap()
public boolean isCurrent()
protected void close()
protected void checkDestroy()
protected void destroy()
|
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 | |||||||