K
- key typeV
- value typepublic interface RMultimapCacheRx<K,V>
RMultimapCache
.Modifier and Type | Method and Description |
---|---|
io.reactivex.rxjava3.core.Single<Boolean> |
expireKey(K key,
long timeToLive,
TimeUnit timeUnit)
Set a timeout for key.
|
io.reactivex.rxjava3.core.Single<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–2021 Redisson. All rights reserved.