Package org.redisson.api
Interface RMultimapCacheAsync<K,V>
-
- All Superinterfaces:
RExpirableAsync
,RMultimapAsync<K,V>
,RObjectAsync
- All Known Subinterfaces:
RListMultimapCache<K,V>
,RMultimapCache<K,V>
,RSetMultimapCache<K,V>
- All Known Implementing Classes:
RedissonListMultimapCache
,RedissonSetMultimapCache
public interface RMultimapCacheAsync<K,V> extends RMultimapAsync<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RFuture<Boolean>
expireKeyAsync(K key, long timeToLive, TimeUnit timeUnit)
Set a timeout for key in async mode.-
Methods inherited from interface org.redisson.api.RExpirableAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
-
Methods inherited from interface org.redisson.api.RMultimapAsync
containsEntryAsync, containsKeyAsync, containsValueAsync, fastRemoveAsync, getAllAsync, keySizeAsync, putAllAsync, putAsync, readAllKeySetAsync, removeAllAsync, removeAsync, replaceValuesAsync, sizeAsync
-
Methods inherited from interface org.redisson.api.RObjectAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
-
-
-
-
Method Detail
-
expireKeyAsync
RFuture<Boolean> expireKeyAsync(K key, long timeToLive, TimeUnit timeUnit)
Set a timeout for key in async mode. After the timeout has expired, the key and its values will automatically be deleted.- Parameters:
key
- - map keytimeToLive
- - timeout before key will be deletedtimeUnit
- - timeout time unit- Returns:
true
if key exists and the timeout was set andfalse
if key not exists
-
-