|
Oracle® Coherence Java API Reference Release 3.7.0.0 E18683-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheStore
A JCache cache store.
Method Summary | |
---|---|
void |
erase(java.lang.Object oKey) Remove the specified key from the underlying store if present. |
void |
eraseAll(java.util.Collection colKeys) Remove the specified keys from the underlying store if present. |
void |
store(java.lang.Object oKey, java.lang.Object oValue) Store the specified value under the specified key in the underlying store. |
void |
storeAll(java.util.Map mapEntries) Store the specified values under the specified keys in the underlying store. |
Methods inherited from interface com.tangosol.net.cache.CacheLoader |
---|
load, loadAll |
Method Detail |
---|
void store(java.lang.Object oKey, java.lang.Object oValue)
oKey
- key to store the value underoValue
- value to be storedjava.lang.UnsupportedOperationException
- if this implementation or the underlying store is read-onlyvoid storeAll(java.util.Map mapEntries)
If this operation fails (by throwing an exception) after a partial success, the convention is that entries which have been stored successfully are to be removed from the specified mapEntries, indicating that the store operation for the entries left in the map has failed or has not been attempted.
mapEntries
- a Map of any number of keys and values to storejava.lang.UnsupportedOperationException
- if this implementation or the underlying store is read-onlyvoid erase(java.lang.Object oKey)
oKey
- key whose mapping is being removed from the cachejava.lang.UnsupportedOperationException
- if this implementation or the underlying store is read-onlyvoid eraseAll(java.util.Collection colKeys)
If this operation fails (by throwing an exception) after a partial success, the convention is that keys which have been erased successfully are to be removed from the specified colKeys, indicating that the erase operation for the keys left in the collection has failed or has not been attempted.
colKeys
- keys whose mappings are being removed from the cachejava.lang.UnsupportedOperationException
- if this implementation or the underlying store is read-only
|
Oracle® Coherence Java API Reference Release 3.7.0.0 E18683-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |