public interface RMapCacheReactive<K,V> extends RMapReactive<K,V>
Current redis implementation doesnt have map entry eviction functionality.
Thus entries are checked for TTL expiration during any key/value/entry read operation.
If key/value/entry expired then it doesn't returns and clean task runs asynchronous.
Clean task deletes removes 100 expired entries at once.
In addition there is
EvictionScheduler. This scheduler
deletes expired entries in time interval between 5 seconds to 2 hours.
If eviction is not required then it's better to use
|Modifier and Type||Method and Description|
Returns the number of entries in cache.
addAndGet, containsKey, containsValue, entryIterator, fastPut, fastRemove, get, getAll, keyIterator, put, putAll, putIfAbsent, remove, remove, replace, replace, valueIterator
clearExpire, expire, expireAt, expireAt, remainTimeToLive
Copyright © 2014–2016 The Redisson Project. All rights reserved.