V
- type of stored valuesRExpirableReactive
, RObjectReactive
RedissonHyperLogLogReactive
public interface RHyperLogLogReactive<V> extends RExpirableReactive
Modifier and Type | Method | Description |
---|---|---|
org.reactivestreams.Publisher<Boolean> |
add(V obj) |
Adds element into this structure.
|
org.reactivestreams.Publisher<Boolean> |
addAll(Collection<V> objects) |
Adds all elements contained in
objects collection into this structure |
org.reactivestreams.Publisher<Long> |
count() |
Returns approximated number of unique elements added into this structure.
|
org.reactivestreams.Publisher<Long> |
countWith(String... otherLogNames) |
Returns approximated number of unique elements
added into this instances and other instances defined through
otherLogNames . |
org.reactivestreams.Publisher<Void> |
mergeWith(String... otherLogNames) |
Merges multiple instances into this instance.
|
clearExpire, expire, expireAt, expireAt, remainTimeToLive
org.reactivestreams.Publisher<Boolean> add(V obj)
obj
- - element to addtrue
if object has been added
or false
if it was already addedorg.reactivestreams.Publisher<Boolean> addAll(Collection<V> objects)
objects
collection into this structureobjects
- - elements to addtrue
if at least one object has been added
or false
if all were already addedorg.reactivestreams.Publisher<Long> count()
org.reactivestreams.Publisher<Long> countWith(String... otherLogNames)
otherLogNames
.otherLogNames
- - name of instancesCopyright © 2014–2018 The Redisson Project. All rights reserved.