@Deprecated public interface RedisClient
Modifier and Type | Method and Description |
---|---|
RedisClient |
append(String key,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Append a value to a key
|
RedisClient |
auth(String password,
Handler<AsyncResult<String>> handler)
Deprecated.
Authenticate to the server
|
RedisClient |
bgrewriteaof(Handler<AsyncResult<String>> handler)
Deprecated.
Asynchronously rewrite the append-only file
|
RedisClient |
bgsave(Handler<AsyncResult<String>> handler)
Deprecated.
Asynchronously save the dataset to disk
|
RedisClient |
bitcount(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Count set bits in a string
|
RedisClient |
bitcountRange(String key,
long start,
long end,
Handler<AsyncResult<Long>> handler)
Deprecated.
Count set bits in a string
|
RedisClient |
bitfield(String key,
BitFieldOptions bitFieldOptions,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Perform arbitrary bitfield integer operations on strings.
|
RedisClient |
bitfieldWithOverflow(String key,
BitFieldOptions commands,
BitFieldOverflowOptions overflow,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Perform arbitrary bitfield integer operations on strings.
|
RedisClient |
bitop(BitOperation operation,
String destkey,
List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Perform bitwise operations between strings
|
RedisClient |
bitpos(String key,
int bit,
Handler<AsyncResult<Long>> handler)
Deprecated.
Find first bit set or clear in a string
|
RedisClient |
bitposFrom(String key,
int bit,
int start,
Handler<AsyncResult<Long>> handler)
Deprecated.
Find first bit set or clear in a string
See also bitposRange() method, which takes start, and stop offset.
|
RedisClient |
bitposRange(String key,
int bit,
int start,
int stop,
Handler<AsyncResult<Long>> handler)
Deprecated.
Find first bit set or clear in a string
Note: when both start, and stop offsets are specified,
behaviour is slightly different than if only start is specified
|
RedisClient |
blpop(String key,
int seconds,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Remove and get the first element in a list, or block until one is available
|
RedisClient |
blpopMany(List<String> keys,
int seconds,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Remove and get the first element in any of the lists, or block until one is available
|
RedisClient |
brpop(String key,
int seconds,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Remove and get the last element in a list, or block until one is available
|
RedisClient |
brpoplpush(String key,
String destkey,
int seconds,
Handler<AsyncResult<String>> handler)
Deprecated.
Pop a value from a list, push it to another list and return it; or block until one is available
|
RedisClient |
brpopMany(List<String> keys,
int seconds,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Remove and get the last element in any of the lists, or block until one is available
|
RedisClient |
clientGetname(Handler<AsyncResult<String>> handler)
Deprecated.
Get the current connection name
|
RedisClient |
clientKill(KillFilter filter,
Handler<AsyncResult<Long>> handler)
Deprecated.
Kill the connection of a client
|
RedisClient |
clientList(Handler<AsyncResult<String>> handler)
Deprecated.
Get the list of client connections
|
RedisClient |
clientPause(long millis,
Handler<AsyncResult<String>> handler)
Deprecated.
Stop processing commands from clients for some time
|
RedisClient |
clientReply(ClientReplyOptions options,
Handler<AsyncResult<String>> handler)
Deprecated.
Instruct the server whether to reply to commands.
|
RedisClient |
clientSetname(String name,
Handler<AsyncResult<String>> handler)
Deprecated.
Set the current connection name
|
void |
close(Handler<AsyncResult<Void>> handler)
Deprecated.
Close the client - when it is fully closed the handler will be called.
|
RedisClient |
clusterAddslots(List<Long> slots,
Handler<AsyncResult<Void>> handler)
Deprecated.
Assign new hash slots to receiving node.
|
RedisClient |
clusterCountFailureReports(String nodeId,
Handler<AsyncResult<Long>> handler)
Deprecated.
Return the number of failure reports active for a given node.
|
RedisClient |
clusterCountkeysinslot(long slot,
Handler<AsyncResult<Long>> handler)
Deprecated.
Return the number of local keys in the specified hash slot.
|
RedisClient |
clusterDelslots(long slot,
Handler<AsyncResult<Void>> handler)
Deprecated.
Set hash slots as unbound in receiving node.
|
RedisClient |
clusterDelslotsMany(List<Long> slots,
Handler<AsyncResult<Void>> handler)
Deprecated.
Set hash slots as unbound in receiving node.
|
RedisClient |
clusterFailover(Handler<AsyncResult<Void>> handler)
Deprecated.
Forces a slave to perform a manual failover of its master.
|
RedisClient |
clusterFailOverWithOptions(FailoverOptions options,
Handler<AsyncResult<Void>> handler)
Deprecated.
Forces a slave to perform a manual failover of its master.
|
RedisClient |
clusterForget(String nodeId,
Handler<AsyncResult<Void>> handler)
Deprecated.
Remove a node from the nodes table.
|
RedisClient |
clusterGetkeysinslot(long slot,
long count,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return local key names in the specified hash slot.
|
RedisClient |
clusterInfo(Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Provides info about Redis Cluster node state.
|
RedisClient |
clusterKeyslot(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Returns the hash slot of the specified key.
|
RedisClient |
clusterMeet(String ip,
long port,
Handler<AsyncResult<Void>> handler)
Deprecated.
Force a node cluster to handshake with another node.
|
RedisClient |
clusterNodes(Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get Cluster config for the node.
|
RedisClient |
clusterReplicate(String nodeId,
Handler<AsyncResult<Void>> handler)
Deprecated.
Reconfigure a node as a slave of the specified master node.
|
RedisClient |
clusterReset(Handler<AsyncResult<Void>> handler)
Deprecated.
Reset a Redis Cluster node.
|
RedisClient |
clusterResetWithOptions(ResetOptions options,
Handler<AsyncResult<Void>> handler)
Deprecated.
Reset a Redis Cluster node.
|
RedisClient |
clusterSaveconfig(Handler<AsyncResult<Void>> handler)
Deprecated.
Forces the node to save cluster state on disk.
|
RedisClient |
clusterSetConfigEpoch(long epoch,
Handler<AsyncResult<Void>> handler)
Deprecated.
Set the configuration epoch in a new node.
|
RedisClient |
clusterSetslot(long slot,
SlotCmd subcommand,
Handler<AsyncResult<Void>> handler)
Deprecated.
Bind an hash slot to a specific node.
|
RedisClient |
clusterSetslotWithNode(long slot,
SlotCmd subcommand,
String nodeId,
Handler<AsyncResult<Void>> handler)
Deprecated.
Bind an hash slot to a specific node.
|
RedisClient |
clusterSlaves(String nodeId,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
List slave nodes of the specified master node.
|
RedisClient |
clusterSlots(Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get array of Cluster slot to node mappings
|
RedisClient |
command(Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get array of Redis command details
|
RedisClient |
commandCount(Handler<AsyncResult<Long>> handler)
Deprecated.
Get total number of Redis commands
|
RedisClient |
commandGetkeys(Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Extract keys given a full Redis command
|
RedisClient |
commandInfo(List<String> commands,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get array of specific Redis command details
|
RedisClient |
configGet(String parameter,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get the value of a configuration parameter
|
RedisClient |
configResetstat(Handler<AsyncResult<String>> handler)
Deprecated.
Reset the stats returned by INFO
|
RedisClient |
configRewrite(Handler<AsyncResult<String>> handler)
Deprecated.
Rewrite the configuration file with the in memory configuration
|
RedisClient |
configSet(String parameter,
String value,
Handler<AsyncResult<String>> handler)
Deprecated.
Set a configuration parameter to the given value
|
static RedisClient |
create(Vertx vertx)
Deprecated.
|
static RedisClient |
create(Vertx vertx,
JsonObject config)
Deprecated.
|
static RedisClient |
create(Vertx vertx,
RedisOptions config)
Deprecated.
|
RedisClient |
dbsize(Handler<AsyncResult<Long>> handler)
Deprecated.
Return the number of keys in the selected database
|
RedisClient |
debugObject(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Get debugging information about a key
|
RedisClient |
debugSegfault(Handler<AsyncResult<String>> handler)
Deprecated.
Make the server crash
|
RedisClient |
decr(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Decrement the integer value of a key by one
|
RedisClient |
decrby(String key,
long decrement,
Handler<AsyncResult<Long>> handler)
Deprecated.
Decrement the integer value of a key by the given number
|
RedisClient |
del(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Delete a key
|
RedisClient |
delMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Delete many keys
|
RedisClient |
dump(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Return a serialized version of the value stored at the specified key.
|
RedisClient |
echo(String message,
Handler<AsyncResult<String>> handler)
Deprecated.
Echo the given string
|
RedisClient |
eval(String script,
List<String> keys,
List<String> args,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Execute a Lua script server side.
|
RedisClient |
evalScript(Script script,
List<String> keys,
List<String> args,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Execute a Lua script server side.
|
RedisClient |
evalsha(String sha1,
List<String> keys,
List<String> values,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Execute a Lua script server side.
|
RedisClient |
exists(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Determine if a key exists
|
RedisClient |
existsMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Determine if one or many keys exist
|
RedisClient |
expire(String key,
long seconds,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set a key's time to live in seconds
|
RedisClient |
expireat(String key,
long seconds,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set the expiration for a key as a UNIX timestamp
|
RedisClient |
flushall(Handler<AsyncResult<String>> handler)
Deprecated.
Remove all keys from all databases
|
RedisClient |
flushdb(Handler<AsyncResult<String>> handler)
Deprecated.
Remove all keys from the current database
|
RedisClient |
geoadd(String key,
double longitude,
double latitude,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add one or more geospatial items in the geospatial index represented using a sorted set.
|
RedisClient |
geoaddMany(String key,
List<GeoMember> members,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add one or more geospatial items in the geospatial index represented using a sorted set.
|
RedisClient |
geodist(String key,
String member1,
String member2,
Handler<AsyncResult<String>> handler)
Deprecated.
Return the distance between two members in the geospatial index represented by the sorted set.
|
RedisClient |
geodistWithUnit(String key,
String member1,
String member2,
GeoUnit unit,
Handler<AsyncResult<String>> handler)
Deprecated.
Return the distance between two members in the geospatial index represented by the sorted set.
|
RedisClient |
geohash(String key,
String member,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing
a geospatial index (where elements were added using GEOADD).
|
RedisClient |
geohashMany(String key,
List<String> members,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return valid Geohash strings representing the position of one or more elements in a sorted set value representing
a geospatial index (where elements were added using GEOADD).
|
RedisClient |
geopos(String key,
String member,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the
sorted set at key.
|
RedisClient |
geoposMany(String key,
List<String> members,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the
sorted set at key.
|
RedisClient |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders
of the area specified with the center location and the maximum distance from the center (the radius).
|
RedisClient |
georadiusbymember(String key,
String member,
double radius,
GeoUnit unit,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area
to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial
index represented by the sorted set.
|
RedisClient |
georadiusbymemberWithOptions(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area
to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial
index represented by the sorted set.
|
RedisClient |
georadiusWithOptions(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders
of the area specified with the center location and the maximum distance from the center (the radius).
|
RedisClient |
get(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Get the value of a key
|
RedisClient |
getBinary(String key,
Handler<AsyncResult<Buffer>> handler)
Deprecated.
Get the value of a key - without decoding as utf-8
|
RedisClient |
getbit(String key,
long offset,
Handler<AsyncResult<Long>> handler)
Deprecated.
Returns the bit value at offset in the string value stored at key
|
RedisClient |
getrange(String key,
long start,
long end,
Handler<AsyncResult<String>> handler)
Deprecated.
Get a substring of the string stored at a key
|
RedisClient |
getset(String key,
String value,
Handler<AsyncResult<String>> handler)
Deprecated.
Set the string value of a key and return its old value
|
RedisClient |
hdel(String key,
String field,
Handler<AsyncResult<Long>> handler)
Deprecated.
Delete one or more hash fields
|
RedisClient |
hdelMany(String key,
List<String> fields,
Handler<AsyncResult<Long>> handler)
Deprecated.
Delete one or more hash fields
|
RedisClient |
hexists(String key,
String field,
Handler<AsyncResult<Long>> handler)
Deprecated.
Determine if a hash field exists
|
RedisClient |
hget(String key,
String field,
Handler<AsyncResult<String>> handler)
Deprecated.
Get the value of a hash field
|
RedisClient |
hgetall(String key,
Handler<AsyncResult<JsonObject>> handler)
Deprecated.
Get all the fields and values in a hash
|
RedisClient |
hincrby(String key,
String field,
long increment,
Handler<AsyncResult<Long>> handler)
Deprecated.
Increment the integer value of a hash field by the given number
|
RedisClient |
hincrbyfloat(String key,
String field,
double increment,
Handler<AsyncResult<String>> handler)
Deprecated.
Increment the float value of a hash field by the given amount
|
RedisClient |
hkeys(String key,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get all the fields in a hash
|
RedisClient |
hlen(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the number of fields in a hash
|
RedisClient |
hmget(String key,
List<String> fields,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get the values of all the given hash fields
|
RedisClient |
hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Deprecated.
Set multiple hash fields to multiple values
|
RedisClient |
hscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Incrementally iterate hash fields and associated values
|
RedisClient |
hset(String key,
String field,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set the string value of a hash field
|
RedisClient |
hsetnx(String key,
String field,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set the value of a hash field, only if the field does not exist
|
RedisClient |
hstrlen(String key,
String field,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the length of the value of a hash field.
|
RedisClient |
hvals(String key,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get all the values in a hash
|
RedisClient |
incr(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Increment the integer value of a key by one
|
RedisClient |
incrby(String key,
long increment,
Handler<AsyncResult<Long>> handler)
Deprecated.
Increment the integer value of a key by the given amount
|
RedisClient |
incrbyfloat(String key,
double increment,
Handler<AsyncResult<String>> handler)
Deprecated.
Increment the float value of a key by the given amount
|
RedisClient |
info(Handler<AsyncResult<JsonObject>> handler)
Deprecated.
Get information and statistics about the server
|
RedisClient |
infoSection(String section,
Handler<AsyncResult<JsonObject>> handler)
Deprecated.
Get information and statistics about the server
|
RedisClient |
keys(String pattern,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Find all keys matching the given pattern
|
RedisClient |
lastsave(Handler<AsyncResult<Long>> handler)
Deprecated.
Get the UNIX time stamp of the last successful save to disk
|
RedisClient |
lindex(String key,
int index,
Handler<AsyncResult<String>> handler)
Deprecated.
Get an element from a list by its index
|
RedisClient |
linsert(String key,
InsertOptions option,
String pivot,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Insert an element before or after another element in a list
|
RedisClient |
llen(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the length of a list
|
RedisClient |
lpop(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Remove and get the first element in a list
|
RedisClient |
lpush(String key,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Prepend one value to a list
|
RedisClient |
lpushMany(String key,
List<String> values,
Handler<AsyncResult<Long>> handler)
Deprecated.
Prepend one or multiple values to a list
|
RedisClient |
lpushx(String key,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Prepend a value to a list, only if the list exists
|
RedisClient |
lrange(String key,
long from,
long to,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get a range of elements from a list
|
RedisClient |
lrem(String key,
long count,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove elements from a list
|
RedisClient |
lset(String key,
long index,
String value,
Handler<AsyncResult<String>> handler)
Deprecated.
Set the value of an element in a list by its index
|
RedisClient |
ltrim(String key,
long from,
long to,
Handler<AsyncResult<String>> handler)
Deprecated.
Trim a list to the specified range
|
RedisClient |
mget(String key,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get the value of the given key
|
RedisClient |
mgetMany(List<String> keys,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get the values of all the given keys
|
RedisClient |
migrate(String host,
int port,
String key,
int destdb,
long timeout,
MigrateOptions options,
Handler<AsyncResult<String>> handler)
Deprecated.
Atomically transfer a key from a Redis instance to another one.
|
RedisClient |
monitor(Handler<AsyncResult<Void>> handler)
Deprecated.
Listen for all requests received by the server in real time
|
RedisClient |
move(String key,
int destdb,
Handler<AsyncResult<Long>> handler)
Deprecated.
Move a key to another database
|
RedisClient |
mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Deprecated.
Set multiple keys to multiple values
|
RedisClient |
msetnx(JsonObject keyvals,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set multiple keys to multiple values, only if none of the keys exist
|
RedisClient |
object(String key,
ObjectCmd cmd,
Handler<AsyncResult<Void>> handler)
Deprecated.
Inspect the internals of Redis objects
|
RedisClient |
persist(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove the expiration from a key
|
RedisClient |
pexpire(String key,
long millis,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set a key's time to live in milliseconds
|
RedisClient |
pexpireat(String key,
long millis,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set the expiration for a key as a UNIX timestamp specified in milliseconds
|
RedisClient |
pfadd(String key,
String element,
Handler<AsyncResult<Long>> handler)
Deprecated.
Adds the specified element to the specified HyperLogLog.
|
RedisClient |
pfaddMany(String key,
List<String> elements,
Handler<AsyncResult<Long>> handler)
Deprecated.
Adds the specified elements to the specified HyperLogLog.
|
RedisClient |
pfcount(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Return the approximated cardinality of the set observed by the HyperLogLog at key.
|
RedisClient |
pfcountMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
RedisClient |
pfmerge(String destkey,
List<String> keys,
Handler<AsyncResult<String>> handler)
Deprecated.
Merge N different HyperLogLogs into a single one.
|
RedisClient |
ping(Handler<AsyncResult<String>> handler)
Deprecated.
Ping the server
|
RedisClient |
psetex(String key,
long millis,
String value,
Handler<AsyncResult<Void>> handler)
Deprecated.
Set the value and expiration in milliseconds of a key
|
RedisClient |
psubscribe(String pattern,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Listen for messages published to channels matching the given pattern
|
RedisClient |
psubscribeMany(List<String> patterns,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Listen for messages published to channels matching the given patterns
|
RedisClient |
pttl(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the time to live for a key in milliseconds
|
RedisClient |
publish(String channel,
String message,
Handler<AsyncResult<Long>> handler)
Deprecated.
Post a message to a channel
|
RedisClient |
pubsubChannels(String pattern,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Lists the currently active channels - only those matching the pattern
|
RedisClient |
pubsubNumpat(Handler<AsyncResult<Long>> handler)
Deprecated.
Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)
|
RedisClient |
pubsubNumsub(List<String> channels,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels
|
RedisClient |
punsubscribe(List<String> patterns,
Handler<AsyncResult<Void>> handler)
Deprecated.
Stop listening for messages posted to channels matching the given patterns
|
RedisClient |
randomkey(Handler<AsyncResult<String>> handler)
Deprecated.
Return a random key from the keyspace
|
RedisClient |
rename(String key,
String newkey,
Handler<AsyncResult<String>> handler)
Deprecated.
Rename a key
|
RedisClient |
renamenx(String key,
String newkey,
Handler<AsyncResult<Long>> handler)
Deprecated.
Rename a key, only if the new key does not exist
|
RedisClient |
restore(String key,
long millis,
String serialized,
Handler<AsyncResult<String>> handler)
Deprecated.
Create a key using the provided serialized value, previously obtained using DUMP.
|
RedisClient |
role(Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return the role of the instance in the context of replication
|
RedisClient |
rpop(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Remove and get the last element in a list
|
RedisClient |
rpoplpush(String key,
String destkey,
Handler<AsyncResult<String>> handler)
Deprecated.
Remove the last element in a list, append it to another list and return it
|
RedisClient |
rpush(String key,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Append one or multiple values to a list
|
RedisClient |
rpushMany(String key,
List<String> values,
Handler<AsyncResult<Long>> handler)
Deprecated.
Append one or multiple values to a list
|
RedisClient |
rpushx(String key,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Append a value to a list, only if the list exists
|
RedisClient |
sadd(String key,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add a member to a set
|
RedisClient |
saddMany(String key,
List<String> members,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add one or more members to a set
|
RedisClient |
save(Handler<AsyncResult<String>> handler)
Deprecated.
Synchronously save the dataset to disk
|
RedisClient |
scan(String cursor,
ScanOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Incrementally iterate the keys space
|
RedisClient |
scard(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the number of members in a set
|
RedisClient |
scriptDebug(ScriptDebugOptions scriptDebugOptions,
Handler<AsyncResult<String>> handler)
Deprecated.
Set the debug mode for executed scripts.
|
RedisClient |
scriptExists(String script,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Check existence of script in the script cache.
|
RedisClient |
scriptExistsMany(List<String> scripts,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Check existence of scripts in the script cache.
|
RedisClient |
scriptFlush(Handler<AsyncResult<String>> handler)
Deprecated.
Remove all the scripts from the script cache.
|
RedisClient |
scriptKill(Handler<AsyncResult<String>> handler)
Deprecated.
Kill the script currently in execution.
|
RedisClient |
scriptLoad(String script,
Handler<AsyncResult<String>> handler)
Deprecated.
Load the specified Lua script into the script cache.
|
RedisClient |
sdiff(String key,
List<String> cmpkeys,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Subtract multiple sets
|
RedisClient |
sdiffstore(String destkey,
String key,
List<String> cmpkeys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Subtract multiple sets and store the resulting set in a key
|
RedisClient |
select(int dbindex,
Handler<AsyncResult<String>> handler)
Deprecated.
Change the selected database for the current connection
|
RedisClient |
set(String key,
String value,
Handler<AsyncResult<Void>> handler)
Deprecated.
Set the string value of a key
|
RedisClient |
setBinary(String key,
Buffer value,
Handler<AsyncResult<Void>> handler)
Deprecated.
Set the binary string value of a key - without encoding as utf-8
|
RedisClient |
setBinaryWithOptions(String key,
Buffer value,
SetOptions options,
Handler<AsyncResult<Void>> handler)
Deprecated.
Set the string value of a key
|
RedisClient |
setbit(String key,
long offset,
int bit,
Handler<AsyncResult<Long>> handler)
Deprecated.
Sets or clears the bit at offset in the string value stored at key
|
RedisClient |
setex(String key,
long seconds,
String value,
Handler<AsyncResult<String>> handler)
Deprecated.
Set the value and expiration of a key
|
RedisClient |
setnx(String key,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Set the value of a key, only if the key does not exist
|
RedisClient |
setrange(String key,
int offset,
String value,
Handler<AsyncResult<Long>> handler)
Deprecated.
Overwrite part of a string at key starting at the specified offset
|
RedisClient |
setWithOptions(String key,
String value,
SetOptions options,
Handler<AsyncResult<String>> handler)
Deprecated.
Set the string value of a key
|
RedisClient |
sinter(List<String> keys,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Intersect multiple sets
|
RedisClient |
sinterstore(String destkey,
List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Intersect multiple sets and store the resulting set in a key
|
RedisClient |
sismember(String key,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Determine if a given value is a member of a set
|
RedisClient |
slaveof(String host,
int port,
Handler<AsyncResult<String>> handler)
Deprecated.
Make the server a slave of another instance
|
RedisClient |
slaveofNoone(Handler<AsyncResult<String>> handler)
Deprecated.
Make this server a master
|
RedisClient |
slowlogGet(int limit,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Read the Redis slow queries log
|
RedisClient |
slowlogLen(Handler<AsyncResult<Long>> handler)
Deprecated.
Get the length of the Redis slow queries log
|
RedisClient |
slowlogReset(Handler<AsyncResult<Void>> handler)
Deprecated.
Reset the Redis slow queries log
|
RedisClient |
smembers(String key,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get all the members in a set
|
RedisClient |
smove(String key,
String destkey,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Move a member from one set to another
|
RedisClient |
sort(String key,
SortOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Sort the elements in a list, set or sorted set
|
RedisClient |
spop(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Remove and return a random member from a set
|
RedisClient |
spopMany(String key,
int count,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Remove and return random members from a set
|
RedisClient |
srandmember(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Get one or multiple random members from a set
|
RedisClient |
srandmemberCount(String key,
int count,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Get one or multiple random members from a set
|
RedisClient |
srem(String key,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove one member from a set
|
RedisClient |
sremMany(String key,
List<String> members,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove one or more members from a set
|
RedisClient |
sscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Incrementally iterate Set elements
|
RedisClient |
strlen(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the length of the value stored in a key
|
RedisClient |
subscribe(String channel,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Listen for messages published to the given channels
|
RedisClient |
subscribeMany(List<String> channels,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Listen for messages published to the given channels
|
RedisClient |
sunion(List<String> keys,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Add multiple sets
|
RedisClient |
sunionstore(String destkey,
List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add multiple sets and store the resulting set in a key
|
RedisClient |
swapdb(int index1,
int index2,
Handler<AsyncResult<String>> handler)
Deprecated.
Swaps two Redis databases
|
RedisClient |
sync(Handler<AsyncResult<Void>> handler)
Deprecated.
Internal command used for replication
|
RedisClient |
time(Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return the current server time
|
RedisClient |
touch(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Alters the last access time of a key(s).
|
RedisClient |
touchMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Alters the last access time of a key(s).
|
RedisTransaction |
transaction()
Deprecated.
Return a RedisTransaction instance
|
RedisClient |
ttl(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the time to live for a key
|
RedisClient |
type(String key,
Handler<AsyncResult<String>> handler)
Deprecated.
Determine the type stored at key
|
RedisClient |
unlink(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Delete a key asynchronously in another thread.
|
RedisClient |
unlinkMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Deprecated.
Delete multiple keys asynchronously in another thread.
|
RedisClient |
unsubscribe(List<String> channels,
Handler<AsyncResult<Void>> handler)
Deprecated.
Stop listening for messages posted to the given channels
|
RedisClient |
wait(long numSlaves,
long timeout,
Handler<AsyncResult<String>> handler)
Deprecated.
Wait for the synchronous replication of all the write commands sent in the context of the current connection.
|
RedisClient |
zadd(String key,
double score,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add one or more members to a sorted set, or update its score if it already exists
|
RedisClient |
zaddMany(String key,
Map<String,Double> members,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add one or more members to a sorted set, or update its score if it already exists
|
RedisClient |
zcard(String key,
Handler<AsyncResult<Long>> handler)
Deprecated.
Get the number of members in a sorted set
|
RedisClient |
zcount(String key,
double min,
double max,
Handler<AsyncResult<Long>> handler)
Deprecated.
Count the members in a sorted set with scores within the given values
|
RedisClient |
zincrby(String key,
double increment,
String member,
Handler<AsyncResult<String>> handler)
Deprecated.
Increment the score of a member in a sorted set
|
RedisClient |
zinterstore(String destkey,
List<String> sets,
AggregateOptions options,
Handler<AsyncResult<Long>> handler)
Deprecated.
Intersect multiple sorted sets and store the resulting sorted set in a new key
|
RedisClient |
zinterstoreWeighed(String destkey,
Map<String,Double> sets,
AggregateOptions options,
Handler<AsyncResult<Long>> handler)
Deprecated.
Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring
|
RedisClient |
zlexcount(String key,
String min,
String max,
Handler<AsyncResult<Long>> handler)
Deprecated.
Count the number of members in a sorted set between a given lexicographical range
|
RedisClient |
zrange(String key,
long start,
long stop,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return a range of members in a sorted set, by index
|
RedisClient |
zrangebylex(String key,
String min,
String max,
LimitOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return a range of members in a sorted set, by lexicographical range
|
RedisClient |
zrangebyscore(String key,
String min,
String max,
RangeLimitOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return a range of members in a sorted set, by score
|
RedisClient |
zrangeWithOptions(String key,
long start,
long stop,
RangeOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return a range of members in a sorted set, by index
|
RedisClient |
zrank(String key,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Determine the index of a member in a sorted set
|
RedisClient |
zrem(String key,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove one member from a sorted set
|
RedisClient |
zremMany(String key,
List<String> members,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove one or more members from a sorted set
|
RedisClient |
zremrangebylex(String key,
String min,
String max,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove all members in a sorted set between the given lexicographical range
|
RedisClient |
zremrangebyrank(String key,
long start,
long stop,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove all members in a sorted set within the given indexes
|
RedisClient |
zremrangebyscore(String key,
String min,
String max,
Handler<AsyncResult<Long>> handler)
Deprecated.
Remove all members in a sorted set within the given scores
|
RedisClient |
zrevrange(String key,
long start,
long stop,
RangeOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return a range of members in a sorted set, by index, with scores ordered from high to low
|
RedisClient |
zrevrangebylex(String key,
String max,
String min,
LimitOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low
|
RedisClient |
zrevrangebyscore(String key,
String max,
String min,
RangeLimitOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Return a range of members in a sorted set, by score, with scores ordered from high to low
|
RedisClient |
zrevrank(String key,
String member,
Handler<AsyncResult<Long>> handler)
Deprecated.
Determine the index of a member in a sorted set, with scores ordered from high to low
|
RedisClient |
zscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<JsonArray>> handler)
Deprecated.
Incrementally iterate sorted sets elements and associated scores
|
RedisClient |
zscore(String key,
String member,
Handler<AsyncResult<String>> handler)
Deprecated.
Get the score associated with the given member in a sorted set
|
RedisClient |
zunionstore(String destkey,
List<String> sets,
AggregateOptions options,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add multiple sorted sets and store the resulting sorted set in a new key
|
RedisClient |
zunionstoreWeighed(String key,
Map<String,Double> sets,
AggregateOptions options,
Handler<AsyncResult<Long>> handler)
Deprecated.
Add multiple sorted sets using weights, and store the resulting sorted set in a new key
|
static RedisClient create(Vertx vertx)
static RedisClient create(Vertx vertx, JsonObject config)
static RedisClient create(Vertx vertx, RedisOptions config)
void close(Handler<AsyncResult<Void>> handler)
handler
- RedisClient append(String key, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringvalue
- Value to appendhandler
- Handler for the result of this call.RedisClient auth(String password, Handler<AsyncResult<String>> handler)
password
- Password for authenticationhandler
- Handler for the result of this call.RedisClient bgrewriteaof(Handler<AsyncResult<String>> handler)
RedisClient bgsave(Handler<AsyncResult<String>> handler)
RedisClient bitcount(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient bitcountRange(String key, long start, long end, Handler<AsyncResult<Long>> handler)
key
- Key stringstart
- Start indexend
- End indexhandler
- Handler for the result of this call.RedisClient bitop(BitOperation operation, String destkey, List<String> keys, Handler<AsyncResult<Long>> handler)
operation
- Bitwise operation to performdestkey
- Destination key where result is storedkeys
- List of keys on which to perform the operationhandler
- Handler for the result of this call.RedisClient bitpos(String key, int bit, Handler<AsyncResult<Long>> handler)
key
- Key stringbit
- What bit value to look for - must be 1, or 0handler
- Handler for the result of this call.RedisClient bitposFrom(String key, int bit, int start, Handler<AsyncResult<Long>> handler)
key
- Key stringbit
- What bit value to look for - must be 1, or 0start
- Start offsethandler
- Handler for the result of this call.RedisClient bitposRange(String key, int bit, int start, int stop, Handler<AsyncResult<Long>> handler)
key
- Key stringbit
- What bit value to look for - must be 1, or 0start
- Start offsetstop
- End offset - inclusivehandler
- Handler for the result of this call.RedisClient blpop(String key, int seconds, Handler<AsyncResult<JsonArray>> handler)
key
- Key string identifying a list to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.RedisClient blpopMany(List<String> keys, int seconds, Handler<AsyncResult<JsonArray>> handler)
keys
- List of key strings identifying lists to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.RedisClient brpop(String key, int seconds, Handler<AsyncResult<JsonArray>> handler)
key
- Key string identifying a list to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.RedisClient brpopMany(List<String> keys, int seconds, Handler<AsyncResult<JsonArray>> handler)
keys
- List of key strings identifying lists to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.RedisClient brpoplpush(String key, String destkey, int seconds, Handler<AsyncResult<String>> handler)
key
- Key string identifying the source listdestkey
- Key string identifying the destination listseconds
- Timeout in secondshandler
- Handler for the result of this call.RedisClient clientKill(KillFilter filter, Handler<AsyncResult<Long>> handler)
filter
- Filter optionshandler
- Handler for the result of this call.RedisClient clientList(Handler<AsyncResult<String>> handler)
RedisClient clientGetname(Handler<AsyncResult<String>> handler)
RedisClient clientPause(long millis, Handler<AsyncResult<String>> handler)
millis
- Pause time in millisecondshandler
- Handler for the result of this call.RedisClient clientSetname(String name, Handler<AsyncResult<String>> handler)
name
- New name for current connectionhandler
- Handler for the result of this call.RedisClient clusterAddslots(List<Long> slots, Handler<AsyncResult<Void>> handler)
slots
- handler
- Handler for the result of this call.RedisClient clusterCountFailureReports(String nodeId, Handler<AsyncResult<Long>> handler)
nodeId
- handler
- Handler for the result of this call.RedisClient clusterCountkeysinslot(long slot, Handler<AsyncResult<Long>> handler)
slot
- handler
- Handler for the result of this call.RedisClient clusterDelslots(long slot, Handler<AsyncResult<Void>> handler)
slot
- handler
- Handler for the result of this call.RedisClient clusterDelslotsMany(List<Long> slots, Handler<AsyncResult<Void>> handler)
slots
- handler
- Handler for the result of this call.RedisClient clusterFailover(Handler<AsyncResult<Void>> handler)
handler
- Handler for the result of this call.RedisClient clusterFailOverWithOptions(FailoverOptions options, Handler<AsyncResult<Void>> handler)
options
- handler
- Handler for the result of this call.RedisClient clusterForget(String nodeId, Handler<AsyncResult<Void>> handler)
nodeId
- handler
- Handler for the result of this call.RedisClient clusterGetkeysinslot(long slot, long count, Handler<AsyncResult<JsonArray>> handler)
slot
- count
- handler
- Handler for the result of this call.RedisClient clusterInfo(Handler<AsyncResult<JsonArray>> handler)
handler
- Handler for the result of this call.RedisClient clusterKeyslot(String key, Handler<AsyncResult<Long>> handler)
key
- handler
- Handler for the result of this call.RedisClient clusterMeet(String ip, long port, Handler<AsyncResult<Void>> handler)
ip
- port
- handler
- Handler for the result of this call.RedisClient clusterNodes(Handler<AsyncResult<JsonArray>> handler)
handler
- Handler for the result of this call.RedisClient clusterReplicate(String nodeId, Handler<AsyncResult<Void>> handler)
nodeId
- handler
- Handler for the result of this call.RedisClient clusterReset(Handler<AsyncResult<Void>> handler)
handler
- Handler for the result of this call.RedisClient clusterResetWithOptions(ResetOptions options, Handler<AsyncResult<Void>> handler)
options
- handler
- Handler for the result of this call.RedisClient clusterSaveconfig(Handler<AsyncResult<Void>> handler)
handler
- Handler for the result of this call.RedisClient clusterSetConfigEpoch(long epoch, Handler<AsyncResult<Void>> handler)
epoch
- handler
- Handler for the result of this call.RedisClient clusterSetslot(long slot, SlotCmd subcommand, Handler<AsyncResult<Void>> handler)
slot
- subcommand
- handler
- Handler for the result of this call.RedisClient clusterSetslotWithNode(long slot, SlotCmd subcommand, String nodeId, Handler<AsyncResult<Void>> handler)
slot
- subcommand
- nodeId
- handler
- Handler for the result of this call.RedisClient clusterSlaves(String nodeId, Handler<AsyncResult<JsonArray>> handler)
nodeId
- handler
- Handler for the result of this call.RedisClient clusterSlots(Handler<AsyncResult<JsonArray>> handler)
RedisClient command(Handler<AsyncResult<JsonArray>> handler)
RedisClient commandCount(Handler<AsyncResult<Long>> handler)
RedisClient commandGetkeys(Handler<AsyncResult<JsonArray>> handler)
RedisClient commandInfo(List<String> commands, Handler<AsyncResult<JsonArray>> handler)
commands
- List of commands to get info forhandler
- Handler for the result of this call.RedisClient configGet(String parameter, Handler<AsyncResult<JsonArray>> handler)
parameter
- Configuration parameterhandler
- Handler for the result of this call.RedisClient configRewrite(Handler<AsyncResult<String>> handler)
RedisClient configSet(String parameter, String value, Handler<AsyncResult<String>> handler)
parameter
- Configuration parametervalue
- New valuehandler
- Handler for the result of this call.RedisClient configResetstat(Handler<AsyncResult<String>> handler)
RedisClient dbsize(Handler<AsyncResult<Long>> handler)
RedisClient debugObject(String key, Handler<AsyncResult<String>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient debugSegfault(Handler<AsyncResult<String>> handler)
RedisClient decr(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient decrby(String key, long decrement, Handler<AsyncResult<Long>> handler)
key
- Key stringdecrement
- Value by which to decrementhandler
- Handler for the result of this call.RedisClient del(String key, Handler<AsyncResult<Long>> handler)
key
- Keys to deletehandler
- Handler for the result of this call.RedisClient delMany(List<String> keys, Handler<AsyncResult<Long>> handler)
keys
- List of keys to deletehandler
- Handler for the result of this call.RedisClient dump(String key, Handler<AsyncResult<String>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient echo(String message, Handler<AsyncResult<String>> handler)
message
- String to echohandler
- Handler for the result of this call.RedisClient eval(String script, List<String> keys, List<String> args, Handler<AsyncResult<JsonArray>> handler)
script
- Lua script to evaluatekeys
- List of keysargs
- List of argument valueshandler
- Handler for the result of this call.RedisClient evalsha(String sha1, List<String> keys, List<String> values, Handler<AsyncResult<JsonArray>> handler)
sha1
- SHA1 digest of the script cached on the serverkeys
- List of keysvalues
- List of valueshandler
- Handler for the result of this call.RedisClient evalScript(Script script, List<String> keys, List<String> args, Handler<AsyncResult<JsonArray>> handler)
script
- Lua script and its SHA1 digestkeys
- List of keysargs
- List of argument valueshandler
- Handler for the result of this call.
group: scriptingRedisClient exists(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient existsMany(List<String> keys, Handler<AsyncResult<Long>> handler)
keys
- List of key stringshandler
- Handler for the result of this call.RedisClient expire(String key, long seconds, Handler<AsyncResult<Long>> handler)
key
- Key stringseconds
- Time to live in secondshandler
- Handler for the result of this call.RedisClient expireat(String key, long seconds, Handler<AsyncResult<Long>> handler)
key
- Key stringseconds
- Expiry time as Unix timestamp in secondshandler
- Handler for the result of this call.RedisClient flushall(Handler<AsyncResult<String>> handler)
RedisClient flushdb(Handler<AsyncResult<String>> handler)
RedisClient get(String key, Handler<AsyncResult<String>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient getBinary(String key, Handler<AsyncResult<Buffer>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient getbit(String key, long offset, Handler<AsyncResult<Long>> handler)
key
- Key stringoffset
- Offset in bitshandler
- Handler for the result of this call.RedisClient getrange(String key, long start, long end, Handler<AsyncResult<String>> handler)
key
- Key stringstart
- Start offsetend
- End offset - inclusivehandler
- Handler for the result of this call.RedisClient getset(String key, String value, Handler<AsyncResult<String>> handler)
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.RedisClient hdel(String key, String field, Handler<AsyncResult<Long>> handler)
key
- Key stringfield
- Field namehandler
- Handler for the result of this call.RedisClient hdelMany(String key, List<String> fields, Handler<AsyncResult<Long>> handler)
key
- Key stringfields
- Field nameshandler
- Handler for the result of this call.RedisClient hexists(String key, String field, Handler<AsyncResult<Long>> handler)
key
- Key stringfield
- Field namehandler
- Handler for the result of this call.RedisClient hget(String key, String field, Handler<AsyncResult<String>> handler)
key
- Key stringfield
- Field namehandler
- Handler for the result of this call.RedisClient hgetall(String key, Handler<AsyncResult<JsonObject>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient hincrby(String key, String field, long increment, Handler<AsyncResult<Long>> handler)
key
- Key stringfield
- Field nameincrement
- Value by which to incrementhandler
- Handler for the result of this call.RedisClient hincrbyfloat(String key, String field, double increment, Handler<AsyncResult<String>> handler)
key
- Key stringfield
- Field nameincrement
- Value by which to incrementhandler
- Handler for the result of this call.RedisClient hkeys(String key, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient hlen(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient hmget(String key, List<String> fields, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringfields
- Field nameshandler
- Handler for the result of this call.RedisClient hmset(String key, JsonObject values, Handler<AsyncResult<String>> handler)
key
- Key stringvalues
- Map of field:value pairshandler
- Handler for the result of this call.RedisClient hset(String key, String field, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringfield
- Field namevalue
- New valuehandler
- Handler for the result of this call.RedisClient hsetnx(String key, String field, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringfield
- Field namevalue
- New valuehandler
- Handler for the result of this call.RedisClient hvals(String key, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient incr(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient incrby(String key, long increment, Handler<AsyncResult<Long>> handler)
key
- Key stringincrement
- Value by which to incrementhandler
- Handler for the result of this call.RedisClient incrbyfloat(String key, double increment, Handler<AsyncResult<String>> handler)
key
- Key stringincrement
- Value by which to incrementhandler
- Handler for the result of this call.RedisClient info(Handler<AsyncResult<JsonObject>> handler)
handler
- Handler for the result of this call.RedisClient infoSection(String section, Handler<AsyncResult<JsonObject>> handler)
section
- Specific section of information to returnhandler
- Handler for the result of this call.RedisClient keys(String pattern, Handler<AsyncResult<JsonArray>> handler)
pattern
- Pattern to limit the keys returnedhandler
- Handler for the result of this call.RedisClient lastsave(Handler<AsyncResult<Long>> handler)
RedisClient lindex(String key, int index, Handler<AsyncResult<String>> handler)
key
- Key stringindex
- Index of list element to gethandler
- Handler for the result of this call.RedisClient linsert(String key, InsertOptions option, String pivot, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringoption
- BEFORE or AFTERpivot
- Key to use as a pivotvalue
- Value to be inserted before or after the pivothandler
- Handler for the result of this call.RedisClient llen(String key, Handler<AsyncResult<Long>> handler)
key
- String keyhandler
- Handler for the result of this call.RedisClient lpop(String key, Handler<AsyncResult<String>> handler)
key
- String keyhandler
- Handler for the result of this call.RedisClient lpushMany(String key, List<String> values, Handler<AsyncResult<Long>> handler)
key
- Key stringvalues
- Values to be added at the beginning of the list, one by onehandler
- Handler for the result of this call.RedisClient lpush(String key, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringvalue
- Value to be added at the beginning of the listhandler
- Handler for the result of this call.RedisClient lpushx(String key, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringvalue
- Value to add at the beginning of the listhandler
- Handler for the result of this call.RedisClient lrange(String key, long from, long to, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringfrom
- Start indexto
- Stop indexhandler
- Handler for the result of this call.RedisClient lrem(String key, long count, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringcount
- Number of first found occurrences equal to $value to remove from the listvalue
- Value to be removedhandler
- Handler for the result of this call.RedisClient lset(String key, long index, String value, Handler<AsyncResult<String>> handler)
key
- Key stringindex
- Position within listvalue
- New valuehandler
- Handler for the result of this call.RedisClient ltrim(String key, long from, long to, Handler<AsyncResult<String>> handler)
key
- Key stringfrom
- Start indexto
- Stop indexhandler
- Handler for the result of this call.RedisClient mget(String key, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient mgetMany(List<String> keys, Handler<AsyncResult<JsonArray>> handler)
keys
- List of keys to gethandler
- Handler for the result of this call.RedisClient migrate(String host, int port, String key, int destdb, long timeout, MigrateOptions options, Handler<AsyncResult<String>> handler)
host
- Destination hostport
- Destination portkey
- Key to migratedestdb
- Destination database indexoptions
- Migrate optionshandler
- Handler for the result of this call.RedisClient monitor(Handler<AsyncResult<Void>> handler)
RedisClient move(String key, int destdb, Handler<AsyncResult<Long>> handler)
key
- Key to migratedestdb
- Destination database indexhandler
- Handler for the result of this call.RedisClient mset(JsonObject keyvals, Handler<AsyncResult<String>> handler)
keyvals
- Key value pairs to sethandler
- Handler for the result of this call.RedisClient msetnx(JsonObject keyvals, Handler<AsyncResult<Long>> handler)
keyvals
- Key value pairs to sethandler
- Handler for the result of this call.RedisClient object(String key, ObjectCmd cmd, Handler<AsyncResult<Void>> handler)
key
- Key stringcmd
- Object sub commandhandler
- Handler for the result of this call.RedisClient persist(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient pexpire(String key, long millis, Handler<AsyncResult<Long>> handler)
key
- String keymillis
- Time to live in millisecondshandler
- Handler for the result of this call.RedisClient pexpireat(String key, long millis, Handler<AsyncResult<Long>> handler)
key
- Key stringmillis
- Expiry time as Unix timestamp in millisecondshandler
- Handler for the result of this call.RedisClient pfadd(String key, String element, Handler<AsyncResult<Long>> handler)
key
- Key stringelement
- Element to addhandler
- Handler for the result of this call.RedisClient pfaddMany(String key, List<String> elements, Handler<AsyncResult<Long>> handler)
key
- Key stringelements
- Elementa to addhandler
- Handler for the result of this call.RedisClient pfcount(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient pfcountMany(List<String> keys, Handler<AsyncResult<Long>> handler)
keys
- List of keyshandler
- Handler for the result of this call.RedisClient pfmerge(String destkey, List<String> keys, Handler<AsyncResult<String>> handler)
destkey
- Destination keykeys
- List of source keyshandler
- Handler for the result of this call.RedisClient ping(Handler<AsyncResult<String>> handler)
RedisClient psetex(String key, long millis, String value, Handler<AsyncResult<Void>> handler)
key
- Key stringmillis
- Number of milliseconds until the key expiresvalue
- New value for keyhandler
- Handler for the result of this call.RedisClient psubscribe(String pattern, Handler<AsyncResult<JsonArray>> handler)
pattern
- Pattern stringhandler
- Handler for the result of this call.RedisClient psubscribeMany(List<String> patterns, Handler<AsyncResult<JsonArray>> handler)
patterns
- List of patternshandler
- Handler for the result of this call.RedisClient pubsubChannels(String pattern, Handler<AsyncResult<JsonArray>> handler)
pattern
- A glob-style pattern - an empty string means no patternhandler
- Handler for the result of this call.RedisClient pubsubNumsub(List<String> channels, Handler<AsyncResult<JsonArray>> handler)
channels
- List of channelshandler
- Handler for the result of this call.RedisClient pubsubNumpat(Handler<AsyncResult<Long>> handler)
handler
- Handler for the result of this call.RedisClient pttl(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient publish(String channel, String message, Handler<AsyncResult<Long>> handler)
channel
- Channel keymessage
- Message to send to channelhandler
- Handler for the result of this call.RedisClient punsubscribe(List<String> patterns, Handler<AsyncResult<Void>> handler)
patterns
- List of patterns to match againsthandler
- Handler for the result of this call.RedisClient randomkey(Handler<AsyncResult<String>> handler)
RedisClient rename(String key, String newkey, Handler<AsyncResult<String>> handler)
key
- Key string to be renamednewkey
- New key stringhandler
- Handler for the result of this call.RedisClient renamenx(String key, String newkey, Handler<AsyncResult<Long>> handler)
key
- Key string to be renamednewkey
- New key stringhandler
- Handler for the result of this call.RedisClient restore(String key, long millis, String serialized, Handler<AsyncResult<String>> handler)
key
- Key stringmillis
- Expiry time in milliseconds to set on the keyserialized
- Serialized form of the key value as obtained using DUMPhandler
- Handler for the result of this call.RedisClient role(Handler<AsyncResult<JsonArray>> handler)
RedisClient rpop(String key, Handler<AsyncResult<String>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient rpoplpush(String key, String destkey, Handler<AsyncResult<String>> handler)
key
- Key string identifying source listdestkey
- Key string identifying destination listhandler
- Handler for the result of this call.RedisClient rpushMany(String key, List<String> values, Handler<AsyncResult<Long>> handler)
key
- Key stringvalues
- List of values to add to the end of the listhandler
- Handler for the result of this call.RedisClient rpush(String key, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringvalue
- Value to be added to the end of the listhandler
- Handler for the result of this call.RedisClient rpushx(String key, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringvalue
- Value to be added to the end of the listhandler
- Handler for the result of this call.RedisClient sadd(String key, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringmember
- Value to be added to the sethandler
- Handler for the result of this call.RedisClient saddMany(String key, List<String> members, Handler<AsyncResult<Long>> handler)
key
- Key stringmembers
- Values to be added to the sethandler
- Handler for the result of this call.RedisClient save(Handler<AsyncResult<String>> handler)
RedisClient scard(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient scriptExists(String script, Handler<AsyncResult<JsonArray>> handler)
script
- SHA1 digest identifying a script in the script cachehandler
- Handler for the result of this call.RedisClient scriptExistsMany(List<String> scripts, Handler<AsyncResult<JsonArray>> handler)
scripts
- List of SHA1 digests identifying scripts in the script cachehandler
- Handler for the result of this call.RedisClient scriptFlush(Handler<AsyncResult<String>> handler)
RedisClient scriptKill(Handler<AsyncResult<String>> handler)
RedisClient scriptLoad(String script, Handler<AsyncResult<String>> handler)
script
- Lua scripthandler
- Handler for the result of this call.RedisClient sdiff(String key, List<String> cmpkeys, Handler<AsyncResult<JsonArray>> handler)
key
- Key identifying the set to compare with all other sets combinedcmpkeys
- List of keys identifying sets to subtract from the key sethandler
- Handler for the result of this call.RedisClient sdiffstore(String destkey, String key, List<String> cmpkeys, Handler<AsyncResult<Long>> handler)
destkey
- Destination key where the result should be storedkey
- Key identifying the set to compare with all other sets combinedcmpkeys
- List of keys identifying sets to subtract from the key sethandler
- Handler for the result of this call.RedisClient select(int dbindex, Handler<AsyncResult<String>> handler)
dbindex
- Index identifying the new active databasehandler
- Handler for the result of this call.RedisClient set(String key, String value, Handler<AsyncResult<Void>> handler)
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.RedisClient setWithOptions(String key, String value, SetOptions options, Handler<AsyncResult<String>> handler)
key
- Key of which value to setvalue
- New value for the keyoptions
- Set optionshandler
- Handler for the result of this call.RedisClient setBinary(String key, Buffer value, Handler<AsyncResult<Void>> handler)
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.RedisClient setBinaryWithOptions(String key, Buffer value, SetOptions options, Handler<AsyncResult<Void>> handler)
key
- Key of which value to setvalue
- New value for the keyoptions
- Set optionshandler
- Handler for the result of this call.RedisClient setbit(String key, long offset, int bit, Handler<AsyncResult<Long>> handler)
key
- Key stringoffset
- Bit offsetbit
- New value - must be 1 or 0handler
- Handler for the result of this call.RedisClient setex(String key, long seconds, String value, Handler<AsyncResult<String>> handler)
key
- Key stringseconds
- Number of seconds until the key expiresvalue
- New value for keyhandler
- Handler for the result of this call.RedisClient setnx(String key, String value, Handler<AsyncResult<Long>> handler)
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.RedisClient setrange(String key, int offset, String value, Handler<AsyncResult<Long>> handler)
key
- Key stringoffset
- Offset - the maximum offset that you can set is 2^29 -1 (536870911), as Redis Strings are limited to 512 megabytesvalue
- Value to overwrite withhandler
- Handler for the result of this call.RedisClient sinter(List<String> keys, Handler<AsyncResult<JsonArray>> handler)
keys
- List of keys to perform intersection onhandler
- Handler for the result of this call.RedisClient sinterstore(String destkey, List<String> keys, Handler<AsyncResult<Long>> handler)
destkey
- Key where to store the resultskeys
- List of keys to perform intersection onhandler
- Handler for the result of this call.RedisClient sismember(String key, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringmember
- Member to look forhandler
- Handler for the result of this call.RedisClient slaveof(String host, int port, Handler<AsyncResult<String>> handler)
host
- Host to become this server's masterport
- Port of our new masterhandler
- Handler for the result of this call.RedisClient slaveofNoone(Handler<AsyncResult<String>> handler)
handler
- Handler for the result of this call.RedisClient slowlogGet(int limit, Handler<AsyncResult<JsonArray>> handler)
limit
- Number of log entries to return. If value is less than zero all entries are returnedhandler
- Handler for the result of this call.RedisClient slowlogLen(Handler<AsyncResult<Long>> handler)
handler
- Handler for the result of this call.RedisClient slowlogReset(Handler<AsyncResult<Void>> handler)
handler
- Handler for the result of this call.RedisClient smembers(String key, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient smove(String key, String destkey, String member, Handler<AsyncResult<Long>> handler)
key
- Key of source set currently containing the memberdestkey
- Key identifying the destination setmember
- Member to movehandler
- Handler for the result of this call.RedisClient sort(String key, SortOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringoptions
- Sort optionshandler
- Handler for the result of this call.RedisClient spop(String key, Handler<AsyncResult<String>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient spopMany(String key, int count, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringcount
- Number of members to removehandler
- Handler for the result of this call.RedisClient srandmember(String key, Handler<AsyncResult<String>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient srandmemberCount(String key, int count, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringcount
- Number of members to gethandler
- Handler for the result of this call.RedisClient srem(String key, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringmember
- Member to removehandler
- Handler for the result of this call.RedisClient sremMany(String key, List<String> members, Handler<AsyncResult<Long>> handler)
key
- Key stringmembers
- Members to removehandler
- Handler for the result of this call.RedisClient strlen(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient subscribe(String channel, Handler<AsyncResult<JsonArray>> handler)
channel
- Channel to subscribe tohandler
- Handler for the result of this call.RedisClient subscribeMany(List<String> channels, Handler<AsyncResult<JsonArray>> handler)
channels
- List of channels to subscribe tohandler
- Handler for the result of this call.RedisClient sunion(List<String> keys, Handler<AsyncResult<JsonArray>> handler)
keys
- List of keys identifying sets to add uphandler
- Handler for the result of this call.RedisClient sunionstore(String destkey, List<String> keys, Handler<AsyncResult<Long>> handler)
destkey
- Destination keykeys
- List of keys identifying sets to add uphandler
- Handler for the result of this call.RedisClient sync(Handler<AsyncResult<Void>> handler)
RedisClient time(Handler<AsyncResult<JsonArray>> handler)
RedisTransaction transaction()
RedisClient ttl(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient type(String key, Handler<AsyncResult<String>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient unsubscribe(List<String> channels, Handler<AsyncResult<Void>> handler)
channels
- List of channels to subscribe tohandler
- Handler for the result of this call.RedisClient wait(long numSlaves, long timeout, Handler<AsyncResult<String>> handler)
numSlaves
- timeout
- handler
- Handler for the result of this call.RedisClient zadd(String key, double score, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringscore
- Score used for sortingmember
- New member keyhandler
- Handler for the result of this call.RedisClient zaddMany(String key, Map<String,Double> members, Handler<AsyncResult<Long>> handler)
key
- Key stringmembers
- New member keys and their scoreshandler
- Handler for the result of this call.RedisClient zcard(String key, Handler<AsyncResult<Long>> handler)
key
- Key stringhandler
- Handler for the result of this call.RedisClient zcount(String key, double min, double max, Handler<AsyncResult<Long>> handler)
key
- Key stringmin
- Minimum scoremax
- Maximum scorehandler
- Handler for the result of this call.RedisClient zincrby(String key, double increment, String member, Handler<AsyncResult<String>> handler)
key
- Key stringincrement
- Increment amountmember
- Member keyhandler
- Handler for the result of this call.RedisClient zinterstore(String destkey, List<String> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
destkey
- Destination keysets
- List of keys identifying sorted sets to intersectoptions
- Aggregation optionshandler
- Handler for the result of this call.RedisClient zinterstoreWeighed(String destkey, Map<String,Double> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
destkey
- Destination keysets
- List of keys identifying sorted sets to intersectoptions
- Aggregation optionshandler
- Handler for the result of this call.RedisClient zlexcount(String key, String min, String max, Handler<AsyncResult<Long>> handler)
key
- Key stringmin
- Pattern to compare against for minimum valuemax
- Pattern to compare against for maximum valuehandler
- Handler for the result of this call.RedisClient zrange(String key, long start, long stop, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringstart
- Start index for the rangestop
- Stop index for the range - inclusivehandler
- Handler for the result of this call.RedisClient zrangeWithOptions(String key, long start, long stop, RangeOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringstart
- Start index for the rangestop
- Stop index for the range - inclusiveoptions
- Range optionshandler
- Handler for the result of this call.RedisClient zrangebylex(String key, String min, String max, LimitOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmin
- Pattern representing a minimum allowed valuemax
- Pattern representing a maximum allowed valueoptions
- Limit options where limit can be specifiedhandler
- Handler for the result of this call.RedisClient zrangebyscore(String key, String min, String max, RangeLimitOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmin
- Pattern defining a minimum valuemax
- Pattern defining a maximum valueoptions
- Range and limit optionshandler
- Handler for the result of this call.RedisClient zrank(String key, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.RedisClient zrem(String key, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.RedisClient zremMany(String key, List<String> members, Handler<AsyncResult<Long>> handler)
key
- Key stringmembers
- Members in the sorted set identified by keyhandler
- Handler for the result of this call.RedisClient zremrangebylex(String key, String min, String max, Handler<AsyncResult<Long>> handler)
key
- Key stringmin
- Pattern defining a minimum valuemax
- Pattern defining a maximum valuehandler
- Handler for the result of this call.RedisClient zremrangebyrank(String key, long start, long stop, Handler<AsyncResult<Long>> handler)
key
- Key stringstart
- Start indexstop
- Stop indexhandler
- Handler for the result of this call.RedisClient zremrangebyscore(String key, String min, String max, Handler<AsyncResult<Long>> handler)
key
- Key stringmin
- Pattern defining a minimum valuemax
- Pattern defining a maximum valueRedisClient zrevrange(String key, long start, long stop, RangeOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringstart
- Start index for the rangestop
- Stop index for the range - inclusiveoptions
- Range optionshandler
- Handler for the result of this call.RedisClient zrevrangebylex(String key, String max, String min, LimitOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmax
- Pattern defining a maximum valuemin
- Pattern defining a minimum valueoptions
- Limit optionshandler
- Handler for the result of this call.RedisClient zrevrangebyscore(String key, String max, String min, RangeLimitOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmax
- Pattern defining a maximum valuemin
- Pattern defining a minimum valueoptions
- Range and limit optionshandler
- Handler for the result of this call.RedisClient zrevrank(String key, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.RedisClient zscore(String key, String member, Handler<AsyncResult<String>> handler)
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.RedisClient zunionstore(String destkey, List<String> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
destkey
- Destination keysets
- List of keys identifying sorted setsoptions
- Aggregation optionshandler
- Handler for the result of this call.RedisClient zunionstoreWeighed(String key, Map<String,Double> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
key
- Destination keysets
- Map containing set-key:weight pairsoptions
- Aggregation optionshandler
- Handler for the result of this call.RedisClient scan(String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
cursor
- Cursor idoptions
- Scan optionshandler
- Handler for the result of this call.RedisClient sscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringcursor
- Cursor idoptions
- Scan optionshandler
- Handler for the result of this call.RedisClient hscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringcursor
- Cursor idoptions
- Scan optionshandler
- Handler for the result of this call.RedisClient zscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringcursor
- Cursor idoptions
- Scan optionshandler
- Handler for the result of this call.RedisClient geoadd(String key, double longitude, double latitude, String member, Handler<AsyncResult<Long>> handler)
key
- Key stringlongitude
- longitudelatitude
- latitudemember
- memberhandler
- Handler for the result of this call.RedisClient geoaddMany(String key, List<GeoMember> members, Handler<AsyncResult<Long>> handler)
key
- Key stringmembers
- list of <lon, lat, member>handler
- Handler for the result of this call.RedisClient geohash(String key, String member, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmember
- memberhandler
- Handler for the result of this call.RedisClient geohashMany(String key, List<String> members, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmembers
- list of membershandler
- Handler for the result of this call.RedisClient geopos(String key, String member, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmember
- memberhandler
- Handler for the result of this call.RedisClient geoposMany(String key, List<String> members, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmembers
- list of membershandler
- Handler for the result of this call.RedisClient geodist(String key, String member1, String member2, Handler<AsyncResult<String>> handler)
key
- Key stringmember1
- member 1member2
- member 2handler
- Handler for the result of this call.RedisClient geodistWithUnit(String key, String member1, String member2, GeoUnit unit, Handler<AsyncResult<String>> handler)
key
- Key stringmember1
- member 1member2
- member 2unit
- geo unithandler
- Handler for the result of this call.RedisClient georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringlongitude
- longitudelatitude
- latituderadius
- radiusunit
- geo unithandler
- Handler for the result of this call.RedisClient georadiusWithOptions(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringlongitude
- longitudelatitude
- latituderadius
- radiusunit
- geo unitoptions
- geo radius optionshandler
- Handler for the result of this call.RedisClient georadiusbymember(String key, String member, double radius, GeoUnit unit, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmember
- memberradius
- radiusunit
- geo unithandler
- Handler for the result of this call.RedisClient georadiusbymemberWithOptions(String key, String member, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringmember
- memberradius
- radiusunit
- geo unitoptions
- geo radius optionshandler
- Handler for the result of this call.RedisClient clientReply(ClientReplyOptions options, Handler<AsyncResult<String>> handler)
RedisClient hstrlen(String key, String field, Handler<AsyncResult<Long>> handler)
key
- Key Stringfield
- fieldRedisClient touch(String key, Handler<AsyncResult<Long>> handler)
key
- Key StringRedisClient touchMany(List<String> keys, Handler<AsyncResult<Long>> handler)
keys
- list of keysRedisClient scriptDebug(ScriptDebugOptions scriptDebugOptions, Handler<AsyncResult<String>> handler)
scriptDebugOptions
- the optionRedisClient bitfield(String key, BitFieldOptions bitFieldOptions, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringRedisClient bitfieldWithOverflow(String key, BitFieldOptions commands, BitFieldOverflowOptions overflow, Handler<AsyncResult<JsonArray>> handler)
key
- Key stringRedisClient unlink(String key, Handler<AsyncResult<Long>> handler)
key
- Key to deletehandler
- Handler for the result of this call.RedisClient unlinkMany(List<String> keys, Handler<AsyncResult<Long>> handler)
keys
- List of keys to deletehandler
- Handler for the result of this call.RedisClient swapdb(int index1, int index2, Handler<AsyncResult<String>> handler)
index1
- index of first database to swapindex2
- index of second database to swaphandler
- Handler for the result of this call.Copyright © 2023 Eclipse. All rights reserved.