|
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.io.nio.BinaryMapStore
public class BinaryMapStore
An implementation of BinaryStore backed by a BinaryMap.
| Constructor Summary | |
|---|---|
BinaryMapStore(BinaryMap map)
Construct a BinaryMapStore object, which is an implementation of the BinaryStore interface backed by a BinaryMap. |
|
| Method Summary | |
|---|---|
void |
close()
Release underlying resources. |
void |
erase(Binary binKey)
Remove the specified key from the underlying store if present. |
void |
eraseAll()
Remove all data from the underlying store. |
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. |
void |
store(Binary binKey,
Binary binValue)
Store the specified value under the specific key in the underlying store. |
| Constructor Detail |
|---|
public BinaryMapStore(BinaryMap map)
map - the BinaryMap to use for storage for this BinaryStore
implementation| 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 stored
UnsupportedOperationException - if this implementation or the
underlying store is read-onlypublic void erase(Binary binKey)
erase in interface BinaryStorebinKey - key whose mapping is to be removed from the map
UnsupportedOperationException - if this implementation or the
underlying store is read-onlypublic void eraseAll()
eraseAll in interface BinaryStoreUnsupportedOperationException - if this implementation or the
underlying store is read-onlypublic Iterator keys()
keys in interface BinaryStoreUnsupportedOperationException - if the underlying store is not
iterablepublic void close()
|
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 | |||||||