|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface BinaryStore
A simple mapping of CacheStore operations for Binary objects into a Java interface.
CacheStore| Method Summary | |
|---|---|
void |
erase(Binary binKey)Remove the specified key from the underlying store if present. |
void |
eraseAll()Remove all data from the underlying store. |
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. |
void |
store(Binary binKey, Binary binValue)Store the specified value under the specific key in the underlying store. |
| Method Detail |
|---|
Binary load(Binary binKey)
binKey - key whose associated value is to be returned
void store(Binary binKey,
Binary binValue)
binKey - key to store the value underbinValue - value to be storedjava.lang.UnsupportedOperationException - if this implementation or the underlying store is read-onlyvoid erase(Binary binKey)
binKey - key whose mapping is to be removed from the mapjava.lang.UnsupportedOperationException - if this implementation or the underlying store is read-onlyvoid eraseAll()
java.lang.UnsupportedOperationException - if this implementation or the underlying store is read-onlyjava.util.Iterator keys()
java.lang.UnsupportedOperationException - if the underlying store is not iterable
|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||