V
- type of stored valuesRExpirable
, RExpirableAsync
, RHyperLogLogAsync<V>
, RObject
, RObjectAsync
RedissonHyperLogLog
public interface RHyperLogLog<V> extends RExpirable, RHyperLogLogAsync<V>
Modifier and Type | Method | 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
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
addAllAsync, addAsync, countAsync, countWithAsync, mergeWithAsync
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, 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.