|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-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(Object oKey) Remove the specified key from the underlying store if present. |
void |
eraseAll(Collection colKeys) Remove the specified keys from the underlying store if present. |
void |
store(Object oKey, Object oValue) Store the specified value under the specified key in the underlying store. |
void |
storeAll(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(Object oKey, Object oValue)
oKey
- key to store the value underoValue
- value to be storedUnsupportedOperationException
- if this implementation or the underlying store is read-onlyvoid storeAll(Map mapEntries)
mapEntries
- a Map of any number of keys and values to storeUnsupportedOperationException
- if this implementation or the underlying store is read-onlyvoid erase(Object oKey)
oKey
- key whose mapping is being removed from the cacheUnsupportedOperationException
- if this implementation or the underlying store is read-onlyvoid eraseAll(Collection colKeys)
colKeys
- keys whose mappings are being removed from the cacheUnsupportedOperationException
- if this implementation or the underlying store is read-only
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |