V
- type of stored valuespublic interface RHyperLogLogAsync<V> extends RExpirableAsync
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
addAllAsync(Collection<V> objects)
Adds all elements contained in
objects collection into this structure |
RFuture<Boolean> |
addAsync(V obj)
Adds element into this structure.
|
RFuture<Long> |
countAsync()
Returns approximated number of unique elements added into this structure.
|
RFuture<Long> |
countWithAsync(String... otherLogNames)
Returns approximated number of unique elements
added into this instances and other instances defined through
otherLogNames . |
RFuture<Void> |
mergeWithAsync(String... otherLogNames)
Merges multiple instances into this instance.
|
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
addListenerAsync, copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
RFuture<Boolean> addAsync(V obj)
obj
- - element to addtrue
if object has been added
or false
if it was already addedRFuture<Boolean> addAllAsync(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 addedRFuture<Long> countAsync()
RFuture<Long> countWithAsync(String... otherLogNames)
otherLogNames
.otherLogNames
- - name of instancesCopyright © 2014–2020 Redisson. All rights reserved.