Package org.redisson.api
Interface RMultimapCacheRx<K,V>
- Type Parameters:
K
- key typeV
- value type
- All Known Subinterfaces:
RListMultimapCacheNativeRx<K,
,V> RListMultimapCacheRx<K,
,V> RSetMultimapCacheNativeRx<K,
,V> RSetMultimapCacheRx<K,
V>
public interface RMultimapCacheRx<K,V>
Rx-ified version of
RMultimapCache
.- Author:
- Marnix Kammer
-
Method Summary
-
Method Details
-
expireKey
Set a timeout for key. 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:
- A Single that will emit
true
if key exists and the timeout was set andfalse
if key not exists
-