K
- keyV
- valuepublic class SoftCacheMap<K,V> extends AbstractCacheMap<K,V>
Constructor and Description |
---|
SoftCacheMap(long timeToLiveInMillis,
long maxIdleInMillis) |
Modifier and Type | Method and Description |
---|---|
protected CachedValue<K,V> |
create(K key,
V value,
long ttl,
long maxIdleTime) |
protected void |
onMapFull() |
protected boolean |
removeExpiredEntries() |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, onValueCreate, onValueRead, onValueRemove, put, put, putAll, readValue, remove, size, values
protected CachedValue<K,V> create(K key, V value, long ttl, long maxIdleTime)
create
in class AbstractCacheMap<K,V>
protected boolean removeExpiredEntries()
removeExpiredEntries
in class AbstractCacheMap<K,V>
protected void onMapFull()
onMapFull
in class AbstractCacheMap<K,V>
Copyright © 2014–2017 The Redisson Project. All rights reserved.