V
- type of stored valuesRExpirableAsync
, RObjectAsync
RHyperLogLog<V>
RedissonHyperLogLog
public interface RHyperLogLogAsync<V> extends RExpirableAsync
Modifier and Type | Method | 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
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, 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–2018 The Redisson Project. All rights reserved.