K - keyV - valuepublic class LRUCacheMap<K,V> extends AbstractCacheMap<K,V>
| Constructor and Description |
|---|
LRUCacheMap(int size,
long timeToLiveInMillis,
long maxIdleInMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected void |
onMapFull() |
protected void |
onValueCreate(CachedValue<K,V> value) |
protected void |
onValueRead(CachedValue<K,V> value) |
protected void |
onValueRemove(CachedValue<K,V> value) |
containsKey, containsValue, create, entrySet, get, isEmpty, keySet, put, put, putAll, readValue, remove, removeExpiredEntries, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic LRUCacheMap(int size,
long timeToLiveInMillis,
long maxIdleInMillis)
protected void onValueCreate(CachedValue<K,V> value)
onValueCreate in class AbstractCacheMap<K,V>protected void onValueRemove(CachedValue<K,V> value)
onValueRemove in class AbstractCacheMap<K,V>protected void onValueRead(CachedValue<K,V> value)
onValueRead in class AbstractCacheMap<K,V>protected void onMapFull()
onMapFull in class AbstractCacheMap<K,V>Copyright © 2014–2018 The Redisson Project. All rights reserved.