V - type of stored valuespublic interface RHyperLogLog<V> extends RExpirable, RHyperLogLogAsync<V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V obj)
Adds element into this structure.
|
boolean |
addAll(Collection<V> objects)
Adds all elements contained in
objects collection into this structure |
long |
count()
Returns approximated number of unique elements added into this structure.
|
long |
countWith(String... otherLogNames)
Returns approximated number of unique elements
added into this instances and other instances defined through
otherLogNames. |
void |
mergeWith(String... otherLogNames)
Merges multiple instances into this instance.
|
clearExpire, expire, expire, expireAt, expireAt, remainTimeToLiveaddListener, copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlinkaddAllAsync, addAsync, countAsync, countWithAsync, mergeWithAsyncclearExpireAsync, expireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsyncaddListenerAsync, copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsyncboolean add(V obj)
obj - - element to addtrue if object has been added
or false if it was already addedboolean 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 addedlong count()
long countWith(String... otherLogNames)
otherLogNames.otherLogNames - - name of instancesvoid mergeWith(String... otherLogNames)
otherLogNames - - name of instancesCopyright © 2014–2021 Redisson. All rights reserved.