K
- map keyV
- map valueConcurrentMap<K,V>
, Map<K,V>
, RDestroyable
, RExpirable
, RExpirableAsync
, RMap<K,V>
, RMapAsync<K,V>
, RObject
, RObjectAsync
RedissonLocalCachedMap
, RedissonTransactionalLocalCachedMap
public interface RLocalCachedMap<K,V> extends RMap<K,V>, RDestroyable
Each instance maintains local cache to achieve fast read operations. Suitable for maps which used mostly for read operations and network roundtrip delays are undesirable.
Modifier and Type | Method | Description |
---|---|---|
void |
clearLocalCache() |
Clears local cache across all instances
|
RFuture<Void> |
clearLocalCacheAsync() |
Clears local cache across all instances
|
void |
preloadCache() |
Pre-warm the cached values.
|
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
clear, containsKey, containsValue, equals, hashCode, isEmpty, size
destroy
clearExpire, expire, expireAt, expireAt, remainTimeToLive
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
addAndGet, entrySet, entrySet, entrySet, entrySet, fastPut, fastPutIfAbsent, fastRemove, fastReplace, get, getAll, getLock, getReadWriteLock, keySet, keySet, keySet, keySet, loadAll, loadAll, mapReduce, put, putAll, putIfAbsent, readAllEntrySet, readAllKeySet, readAllMap, readAllValues, remove, remove, replace, replace, values, values, values, values, valueSize
addAndGetAsync, containsKeyAsync, containsValueAsync, fastPutAsync, fastPutIfAbsentAsync, fastRemoveAsync, fastReplaceAsync, getAllAsync, getAsync, loadAllAsync, loadAllAsync, putAllAsync, putAsync, putIfAbsentAsync, readAllEntrySetAsync, readAllKeySetAsync, readAllMapAsync, readAllValuesAsync, removeAsync, removeAsync, replaceAsync, replaceAsync, sizeAsync, valueSizeAsync
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
void preloadCache()
RFuture<Void> clearLocalCacheAsync()
void clearLocalCache()
Copyright © 2014–2018 The Redisson Project. All rights reserved.