|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.io.nio.BinaryMapStore
public class BinaryMapStore
An implementation of BinaryStore backed by a BinaryMap.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.tangosol.io.BinaryStore |
---|
BinaryStore.SizeAware |
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() Deprecated. use the Disposable interface instead |
void |
dispose() |
void |
erase(Binary binKey) Remove the specified key from the underlying store if present. |
void |
eraseAll() Remove all data from the underlying store. |
BinaryMap |
getBinaryMap() Obtain the underlying BinaryMap. |
java.util.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. |
int |
size() Determine the number of keys in the BinaryStore. |
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 implementationMethod Detail |
---|
public BinaryMap getBinaryMap()
public Binary load(Binary binKey)
load
in interface BinaryStore
binKey
- key whose associated value is to be returnedpublic void store(Binary binKey, Binary binValue)
store
in interface BinaryStore
binKey
- key to store the value underbinValue
- value to be storedpublic void erase(Binary binKey)
erase
in interface BinaryStore
binKey
- key whose mapping is to be removed from the mappublic void eraseAll()
eraseAll
in interface BinaryStore
public java.util.Iterator keys()
keys
in interface BinaryStore
public int size()
size
in interface BinaryStore.SizeAware
public void dispose()
public void close()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |