K
- key typeV
- value typepublic interface RListMultimapReactive<K,V> extends RMultimapReactive<K,V>
Modifier and Type | Method and Description |
---|---|
RListReactive<V> |
get(K key)
Returns a view List of the values associated with
key in this
multimap, if any. |
reactor.core.publisher.Mono<List<V>> |
getAll(K key)
Returns all elements at once.
|
reactor.core.publisher.Mono<List<V>> |
removeAll(Object key)
Removes all values associated with the key
key . |
reactor.core.publisher.Mono<List<V>> |
replaceValues(K key,
Iterable<? extends V> values)
Stores a collection of values with the same key, replacing any existing
values for that key.
|
containsEntry, containsKey, containsValue, fastRemove, keySize, put, putAll, readAllKeySet, remove, size
clearExpire, expire, expireAt, expireAt, remainTimeToLive
RListReactive<V> get(K key)
key
in this
multimap, if any. Note that when containsKey(key)
is false, this
returns an empty collection, not null
.
Changes to the returned collection will update the underlying multimap, and vice versa.
key
- - map keyreactor.core.publisher.Mono<List<V>> getAll(K key)
key
- - map keyreactor.core.publisher.Mono<List<V>> removeAll(Object key)
key
.
Once this method returns, key
will not be mapped to any values
Use RMultimapReactive.fastRemove(K...)
if values are not needed.
key
- - map keyreactor.core.publisher.Mono<List<V>> replaceValues(K key, Iterable<? extends V> values)
If values
is empty, this is equivalent to
removeAll(Object)
.
key
- - map keyvalues
- - map valuesCopyright © 2014–2019 The Redisson Project. All rights reserved.