public interface RMultimapCacheAsync<K,V> extends RMultimapAsync<K,V>
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
expireKeyAsync(K key,
long timeToLive,
TimeUnit timeUnit)
Set a timeout for key in async mode.
|
containsEntryAsync, containsKeyAsync, containsValueAsync, fastRemoveAsync, getAllAsync, keySizeAsync, putAllAsync, putAsync, readAllKeySetAsync, removeAllAsync, removeAsync, replaceValuesAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync
RFuture<Boolean> expireKeyAsync(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–2017 The Redisson Project. All rights reserved.