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.
|
java.lang.Object |
get(CacheKey key)
Gets value associated with the key.
|
java.util.Collection<CacheKey> |
getAllKeys()
Returns all keys currently stored in this map.
|
long |
getCacheMaxEntries()
Returns max cache size above which eviction occurs.
|
java.lang.Object |
put(CacheKey key,
java.lang.Object value)
Puts new value into the map.
|
void |
registerEvictionCallback(EvictionCallback callback)
Notifies cache region when eviction occurs.
|
java.lang.Object |
remove(CacheKey key)
Removes value from the map.
|
long |
size()
Returns number of elements currently stored in the cache
|
void registerEvictionCallback(EvictionCallback callback)
java.lang.Object get(CacheKey key)
java.lang.Object put(CacheKey key, java.lang.Object value)
java.lang.Object remove(CacheKey key)
boolean contains(CacheKey key)
long getCacheMaxEntries()
void clear()
long size()
java.util.Collection<CacheKey> getAllKeys()
Copyright © 2018 SAP SE. All Rights Reserved.