|
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 BinaryEntryStore
BinaryEntryStore is analogous to the CacheStore, but operates on BinaryEntry objects. Note that the BinaryEntry interface extends Map.Entry and provides dual access to the underlying data: in external (Object) format via the getKey/getValue/setValue methods or internal (Binary) format via getBinaryKey/getBinaryValue/updateBinaryValue methods. Additionaly, for the purpose of the optimistic concurrency control, implementations could rely on the entry's "previous" values: in the external format using BinaryEntry.getOriginalValue() and in the internal format using the BinaryEntry.getOriginalBinaryValue() methods (for store operations, a value of null here would indicate an insert operation).
| Method Summary | |
|---|---|
void |
erase(BinaryEntry binEntry)Remove the specified entry from the underlying store. |
void |
eraseAll(java.util.Set setBinEntries)Remove the specified entries from the underlying store. |
void |
load(BinaryEntry binEntry)Load the value from the underlying store and update the specified entry. |
void |
loadAll(java.util.Set setBinEntries)Load the values from the underlying store and update the specified entries. |
void |
store(BinaryEntry binEntry)Store the specified entry in the underlying store. |
void |
storeAll(java.util.Set setBinEntries)Store the entries in the specified set in the underlying store. |
| Method Detail |
|---|
void load(BinaryEntry binEntry)
binEntry - an entry that needs to be updated with the loaded valuevoid loadAll(java.util.Set setBinEntries)
setBinEntries - a set of entries that needs to be updated with the loaded valuesvoid store(BinaryEntry binEntry)
binEntry - the entry to be storedjava.lang.UnsupportedOperationException - if this implementation or the underlying store is read-onlyvoid storeAll(java.util.Set setBinEntries)
setBinEntries - the set of entries to be storedjava.lang.UnsupportedOperationException - if this implementation or the underlying store is read-onlyvoid erase(BinaryEntry binEntry)
binEntry - the entry to be removed from the storejava.lang.UnsupportedOperationException - if this implementation or the underlying store is read-onlyvoid eraseAll(java.util.Set setBinEntries)
setBinEntries - the set entries to be removed from the storejava.lang.UnsupportedOperationException - if this implementation or the underlying store is read-only
|
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 | |||||||