public class RedissonHyperLogLog<V> extends Object implements RHyperLogLog<V>
Modifier | Constructor and Description |
---|---|
protected |
RedissonHyperLogLog(ConnectionManager connectionManager,
String name) |
Modifier and Type | Method and Description |
---|---|
long |
add(V obj) |
long |
addAll(Collection<V> objects) |
io.netty.util.concurrent.Future<Long> |
addAllAsync(Collection<V> objects) |
io.netty.util.concurrent.Future<Long> |
addAsync(V obj) |
long |
count() |
io.netty.util.concurrent.Future<Long> |
countAsync() |
long |
countWith(String... otherLogNames) |
io.netty.util.concurrent.Future<Long> |
countWithAsync(String... otherLogNames) |
void |
delete()
Deletes the object
|
String |
getName()
Returns name of object
|
long |
mergeWith(String... otherLogNames) |
io.netty.util.concurrent.Future<Long> |
mergeWithAsync(String... otherLogNames) |
protected <V> io.netty.util.concurrent.Promise<V> |
newPromise() |
protected RedissonHyperLogLog(ConnectionManager connectionManager, String name)
public long add(V obj)
add
in interface RHyperLogLog<V>
public long addAll(Collection<V> objects)
addAll
in interface RHyperLogLog<V>
public long count()
count
in interface RHyperLogLog<V>
public long countWith(String... otherLogNames)
countWith
in interface RHyperLogLog<V>
public long mergeWith(String... otherLogNames)
mergeWith
in interface RHyperLogLog<V>
public io.netty.util.concurrent.Future<Long> addAsync(V obj)
addAsync
in interface RHyperLogLog<V>
public io.netty.util.concurrent.Future<Long> addAllAsync(Collection<V> objects)
addAllAsync
in interface RHyperLogLog<V>
public io.netty.util.concurrent.Future<Long> countAsync()
countAsync
in interface RHyperLogLog<V>
public io.netty.util.concurrent.Future<Long> countWithAsync(String... otherLogNames)
countWithAsync
in interface RHyperLogLog<V>
public io.netty.util.concurrent.Future<Long> mergeWithAsync(String... otherLogNames)
mergeWithAsync
in interface RHyperLogLog<V>
protected <V> io.netty.util.concurrent.Promise<V> newPromise()
Copyright © 2014. All rights reserved.