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, expireAt, expireAt, remainTimeToLive
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
addAllAsync, addAsync, countAsync, countWithAsync, mergeWithAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
boolean 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–2018 The Redisson Project. All rights reserved.