public interface RMultimapCache<K,V> extends RMultimap<K,V>, RMultimapCacheAsync<K,V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
expireKey(K key,
long timeToLive,
TimeUnit timeUnit)
Set a timeout for key.
|
clear, containsEntry, containsKey, containsValue, entries, fastRemove, get, getAll, getLock, getReadWriteLock, isEmpty, keySet, keySize, put, putAll, readAllKeySet, remove, removeAll, replaceValues, size, valuesclearExpire, expire, expireAt, expireAt, remainTimeToLivecopy, delete, getCodec, getName, isExists, migrate, move, rename, renamenx, touch, unlinkexpireKeyAsynccontainsEntryAsync, containsKeyAsync, containsValueAsync, fastRemoveAsync, getAllAsync, keySizeAsync, putAllAsync, putAsync, readAllKeySetAsync, removeAllAsync, removeAsync, replaceValuesAsync, sizeAsyncclearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsynccopyAsync, deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsyncboolean 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.