KEYTYPE - Cache key type.VALUETYPE - Cache value type.public interface IMutableCache<KEYTYPE,VALUETYPE> extends ICache<KEYTYPE,VALUETYPE>
| Modifier and Type | Method and Description |
|---|---|
EChange |
clearCache()
Remove all cached elements.
|
EChange |
removeFromCache(KEYTYPE aKey)
Remove the given key from the cache.
|
getFromCachegetComparatorCollating, getComparatorName, getNameisEmpty, isNotEmpty, size@Nonnull EChange removeFromCache(KEYTYPE aKey)
aKey - The key to be removed. May be nullable or not - depends
upon the implementation.EChange.CHANGED upon success, EChange.UNCHANGED if
the key was not within the cache,Copyright © 2014–2020 Philip Helger. All rights reserved.