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 value) |
protected void |
onValueRead(CachedValue value) |
protected void |
onValueRemove(CachedValue value) |
containsKey, containsValue, create, entrySet, get, isEmpty, keySet, put, put, putAll, readValue, remove, removeExpiredEntries, size, values
public LRUCacheMap(int size, long timeToLiveInMillis, long maxIdleInMillis)
protected void onValueCreate(CachedValue value)
onValueCreate
in class AbstractCacheMap<K,V>
protected void onValueRemove(CachedValue value)
onValueRemove
in class AbstractCacheMap<K,V>
protected void onValueRead(CachedValue value)
onValueRead
in class AbstractCacheMap<K,V>
protected void onMapFull()
onMapFull
in class AbstractCacheMap<K,V>
Copyright © 2014–2017 The Redisson Project. All rights reserved.