K - key typeV - value typepublic interface RSetMultimapReactive<K,V> extends RMultimapReactive<K,V>
| Modifier and Type | Method and Description |
|---|---|
RSetReactive<V> |
get(K key)
Returns a view Set of the values associated with
key in this
multimap, if any. |
org.reactivestreams.Publisher<Set<V>> |
getAll(K key)
Returns all elements at once.
|
org.reactivestreams.Publisher<Set<V>> |
removeAll(Object key)
Removes all values associated with the key
key. |
org.reactivestreams.Publisher<Set<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, sizeclearExpire, expire, expireAt, expireAt, remainTimeToLiveRSetReactive<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 keyorg.reactivestreams.Publisher<Set<V>> getAll(K key)
key - - map keyorg.reactivestreams.Publisher<Set<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 keyorg.reactivestreams.Publisher<Set<V>> replaceValues(K key, Iterable<? extends V> values)
If values is empty, this is equivalent to
removeAll(Object).
key - - map keyvalues - - map valuesCopyright © 2014–2018 The Redisson Project. All rights reserved.