public interface CacheMap<K,V>
extends java.util.Map<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
getMaxReachedSize()
The maximum size since initialization/creation
|
int |
maxSize()
The maximum allowed size of the map
|
void |
processDisplacedEntry(K key,
V value)
do something before a entry is displaced because the map is growing to big (if an entry is added and size() is
getting bigger as maxSize()), this method will be called before an old entry is being removed
|
int |
size()
the current size of the cache map
|
Copyright © 2018 SAP SE. All Rights Reserved.