RExpirable
, RExpirableAsync
, RMultimap<K,V>
, RMultimapAsync<K,V>
, RMultimapCacheAsync<K,V>
, RObject
, RObjectAsync
RListMultimapCache<K,V>
, RSetMultimapCache<K,V>
RedissonListMultimapCache
, RedissonSetMultimapCache
public interface RMultimapCache<K,V> extends RMultimap<K,V>, RMultimapCacheAsync<K,V>
Modifier and Type | Method | Description |
---|---|---|
boolean |
expireKey(K key,
long timeToLive,
TimeUnit timeUnit) |
Set a timeout for key.
|
clearExpire, expire, expireAt, expireAt, remainTimeToLive
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
clear, containsEntry, containsKey, containsValue, entries, fastRemove, get, getAll, getLock, getReadWriteLock, isEmpty, keySet, keySize, put, putAll, readAllKeySet, remove, removeAll, replaceValues, size, values
containsEntryAsync, containsKeyAsync, containsValueAsync, fastRemoveAsync, getAllAsync, keySizeAsync, putAllAsync, putAsync, readAllKeySetAsync, removeAllAsync, removeAsync, replaceValuesAsync, sizeAsync
expireKeyAsync
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
boolean expireKey(K key, long timeToLive, TimeUnit timeUnit)
key
- - map keytimeToLive
- - timeout before key will be deletedtimeUnit
- - timeout time unittrue
if key exists and the timeout was set and false
if key not existsCopyright © 2014–2018 The Redisson Project. All rights reserved.