V
- type of stored valuespublic interface RHyperLogLogReactive<V> extends RExpirableReactive
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Boolean> |
add(V obj)
Adds element into this structure.
|
reactor.core.publisher.Mono<Boolean> |
addAll(Collection<V> objects)
Adds all elements contained in
objects collection into this structure |
reactor.core.publisher.Mono<Long> |
count()
Returns approximated number of unique elements added into this structure.
|
reactor.core.publisher.Mono<Long> |
countWith(String... otherLogNames)
Returns approximated number of unique elements
added into this instances and other instances defined through
otherLogNames . |
reactor.core.publisher.Mono<Void> |
mergeWith(String... otherLogNames)
Merges multiple instances into this instance.
|
clearExpire, expire, expireAt, expireAt, remainTimeToLive
addListener, copy, delete, dump, getCodec, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
reactor.core.publisher.Mono<Boolean> add(V obj)
obj
- - element to addtrue
if object has been added
or false
if it was already addedreactor.core.publisher.Mono<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 addedreactor.core.publisher.Mono<Long> count()
reactor.core.publisher.Mono<Long> countWith(String... otherLogNames)
otherLogNames
.otherLogNames
- - name of instancesCopyright © 2014–2020 Redisson. All rights reserved.