public interface CacheMap
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all elements from map.
|
boolean |
contains(CacheKey key)
Checks if map contains value for key specified.
|
Object |
get(CacheKey key)
Gets value associated with the key.
|
Collection<CacheKey> |
getAllKeys()
Returns all keys currently stored in this map.
|
long |
getCacheMaxEntries()
Returns max cache size above which eviction occurs.
|
Object |
put(CacheKey key,
Object value)
Puts new value into the map.
|
void |
registerEvictionCallback(EvictionCallback callback)
Notifies cache region when eviction occurs.
|
Object |
remove(CacheKey key)
Removes value from the map.
|
long |
size()
Returns number of elements currently stored in the cache
|
void registerEvictionCallback(EvictionCallback callback)
Object get(CacheKey key)
boolean contains(CacheKey key)
long getCacheMaxEntries()
void clear()
long size()
Collection<CacheKey> getAllKeys()
Copyright © 2017 SAP SE. All Rights Reserved.