public final class RedisClientImpl extends Object implements RedisClient
| Modifier and Type | Class and Description |
|---|---|
class |
RedisClientImpl.RedisTransactionImpl |
| Constructor and Description |
|---|
RedisClientImpl(Vertx vertx,
RedisOptions options) |
| Modifier and Type | Method and Description |
|---|---|
RedisClient |
append(String key,
String value,
Handler<AsyncResult<Long>> handler)
Append a value to a key
|
RedisClient |
auth(String password,
Handler<AsyncResult<String>> handler)
Authenticate to the server
|
RedisClient |
bgrewriteaof(Handler<AsyncResult<String>> handler)
Asynchronously rewrite the append-only file
|
RedisClient |
bgsave(Handler<AsyncResult<String>> handler)
Asynchronously save the dataset to disk
|
RedisClient |
bitcount(String key,
Handler<AsyncResult<Long>> handler)
Count set bits in a string
|
RedisClient |
bitcountRange(String key,
long start,
long end,
Handler<AsyncResult<Long>> handler)
Count set bits in a string
|
RedisClient |
bitfield(String key,
BitFieldOptions bitFieldOptions,
Handler<AsyncResult<JsonArray>> handler)
Perform arbitrary bitfield integer operations on strings.
|
RedisClient |
bitfieldWithOverflow(String key,
BitFieldOptions bitFieldOptions,
BitFieldOverflowOptions overflow,
Handler<AsyncResult<JsonArray>> handler)
Perform arbitrary bitfield integer operations on strings.
|
RedisClient |
bitop(BitOperation operation,
String destkey,
List<String> keys,
Handler<AsyncResult<Long>> handler)
Perform bitwise operations between strings
|
RedisClient |
bitpos(String key,
int bit,
Handler<AsyncResult<Long>> handler)
Find first bit set or clear in a string
|
RedisClient |
bitposFrom(String key,
int bit,
int start,
Handler<AsyncResult<Long>> handler)
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)
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)
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)
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)
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)
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)
Remove and get the last element in any of the lists, or block until one is available
|
RedisClient |
clientGetname(Handler<AsyncResult<String>> handler)
Get the current connection name
|
RedisClient |
clientKill(KillFilter filter,
Handler<AsyncResult<Long>> handler)
Kill the connection of a client
|
RedisClient |
clientList(Handler<AsyncResult<String>> handler)
Get the list of client connections
|
RedisClient |
clientPause(long millis,
Handler<AsyncResult<String>> handler)
Stop processing commands from clients for some time
|
RedisClient |
clientReply(ClientReplyOptions options,
Handler<AsyncResult<String>> handler)
Instruct the server whether to reply to commands.
|
RedisClient |
clientSetname(String name,
Handler<AsyncResult<String>> handler)
Set the current connection name
|
void |
close(Handler<AsyncResult<Void>> handler)
Close the client - when it is fully closed the handler will be called.
|
RedisClient |
clusterAddslots(List<Long> slots,
Handler<AsyncResult<Void>> handler)
Assign new hash slots to receiving node.
|
RedisClient |
clusterCountFailureReports(String nodeId,
Handler<AsyncResult<Long>> handler)
Return the number of failure reports active for a given node.
|
RedisClient |
clusterCountkeysinslot(long slot,
Handler<AsyncResult<Long>> handler)
Return the number of local keys in the specified hash slot.
|
RedisClient |
clusterDelslots(long slot,
Handler<AsyncResult<Void>> handler)
Set hash slots as unbound in receiving node.
|
RedisClient |
clusterDelslotsMany(List<Long> slots,
Handler<AsyncResult<Void>> handler)
Set hash slots as unbound in receiving node.
|
RedisClient |
clusterFailover(Handler<AsyncResult<Void>> handler)
Forces a slave to perform a manual failover of its master.
|
RedisClient |
clusterFailOverWithOptions(FailoverOptions options,
Handler<AsyncResult<Void>> handler)
Forces a slave to perform a manual failover of its master.
|
RedisClient |
clusterForget(String nodeId,
Handler<AsyncResult<Void>> handler)
Remove a node from the nodes table.
|
RedisClient |
clusterGetkeysinslot(long slot,
long count,
Handler<AsyncResult<JsonArray>> handler)
Return local key names in the specified hash slot.
|
RedisClient |
clusterInfo(Handler<AsyncResult<JsonArray>> handler)
Provides info about Redis Cluster node state.
|
RedisClient |
clusterKeyslot(String key,
Handler<AsyncResult<Long>> handler)
Returns the hash slot of the specified key.
|
RedisClient |
clusterMeet(String ip,
long port,
Handler<AsyncResult<Void>> handler)
Force a node cluster to handshake with another node.
|
RedisClient |
clusterNodes(Handler<AsyncResult<JsonArray>> handler)
Get Cluster config for the node.
|
RedisClient |
clusterReplicate(String nodeId,
Handler<AsyncResult<Void>> handler)
Reconfigure a node as a slave of the specified master node.
|
RedisClient |
clusterReset(Handler<AsyncResult<Void>> handler)
Reset a Redis Cluster node.
|
RedisClient |
clusterResetWithOptions(ResetOptions options,
Handler<AsyncResult<Void>> handler)
Reset a Redis Cluster node.
|
RedisClient |
clusterSaveconfig(Handler<AsyncResult<Void>> handler)
Forces the node to save cluster state on disk.
|
RedisClient |
clusterSetConfigEpoch(long epoch,
Handler<AsyncResult<Void>> handler)
Set the configuration epoch in a new node.
|
RedisClient |
clusterSetslot(long slot,
SlotCmd subcommand,
Handler<AsyncResult<Void>> handler)
Bind an hash slot to a specific node.
|
RedisClient |
clusterSetslotWithNode(long slot,
SlotCmd subcommand,
String nodeId,
Handler<AsyncResult<Void>> handler)
Bind an hash slot to a specific node.
|
RedisClient |
clusterSlaves(String nodeId,
Handler<AsyncResult<JsonArray>> handler)
List slave nodes of the specified master node.
|
RedisClient |
clusterSlots(Handler<AsyncResult<JsonArray>> handler)
Get array of Cluster slot to node mappings
|
RedisClient |
command(Handler<AsyncResult<JsonArray>> handler)
Get array of Redis command details
|
RedisClient |
commandCount(Handler<AsyncResult<Long>> handler)
Get total number of Redis commands
|
RedisClient |
commandGetkeys(Handler<AsyncResult<JsonArray>> handler)
Extract keys given a full Redis command
|
RedisClient |
commandInfo(List<String> commands,
Handler<AsyncResult<JsonArray>> handler)
Get array of specific Redis command details
|
RedisClient |
configGet(String parameter,
Handler<AsyncResult<JsonArray>> handler)
Get the value of a configuration parameter
|
RedisClient |
configResetstat(Handler<AsyncResult<String>> handler)
Reset the stats returned by INFO
|
RedisClient |
configRewrite(Handler<AsyncResult<String>> handler)
Rewrite the configuration file with the in memory configuration
|
RedisClient |
configSet(String parameter,
String value,
Handler<AsyncResult<String>> handler)
Set a configuration parameter to the given value
|
RedisClient |
dbsize(Handler<AsyncResult<Long>> handler)
Return the number of keys in the selected database
|
RedisClient |
debugObject(String key,
Handler<AsyncResult<String>> handler)
Get debugging information about a key
|
RedisClient |
debugSegfault(Handler<AsyncResult<String>> handler)
Make the server crash
|
RedisClient |
decr(String key,
Handler<AsyncResult<Long>> handler)
Decrement the integer value of a key by one
|
RedisClient |
decrby(String key,
long decrement,
Handler<AsyncResult<Long>> handler)
Decrement the integer value of a key by the given number
|
RedisClient |
del(String key,
Handler<AsyncResult<Long>> handler)
Delete a key
|
RedisClient |
delMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Delete many keys
|
RedisClient |
dump(String key,
Handler<AsyncResult<String>> handler)
Return a serialized version of the value stored at the specified key.
|
RedisClient |
echo(String message,
Handler<AsyncResult<String>> handler)
Echo the given string
|
RedisClient |
eval(String script,
List<String> keys,
List<String> args,
Handler<AsyncResult<JsonArray>> handler)
Execute a Lua script server side.
|
RedisClient |
evalScript(Script script,
List<String> keys,
List<String> args,
Handler<AsyncResult<JsonArray>> handler)
Execute a Lua script server side.
|
RedisClient |
evalsha(String sha1,
List<String> keys,
List<String> args,
Handler<AsyncResult<JsonArray>> handler)
Execute a Lua script server side.
|
RedisClient |
exists(String key,
Handler<AsyncResult<Long>> handler)
Determine if a key exists
|
RedisClient |
existsMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Determine if one or many keys exist
|
RedisClient |
expire(String key,
long seconds,
Handler<AsyncResult<Long>> handler)
Set a key's time to live in seconds
|
RedisClient |
expireat(String key,
long seconds,
Handler<AsyncResult<Long>> handler)
Set the expiration for a key as a UNIX timestamp
|
RedisClient |
flushall(Handler<AsyncResult<String>> handler)
Remove all keys from all databases
|
RedisClient |
flushdb(Handler<AsyncResult<String>> handler)
Remove all keys from the current database
|
RedisClient |
geoadd(String key,
double longitude,
double latitude,
String member,
Handler<AsyncResult<Long>> handler)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Get the value of a key
|
RedisClient |
getBinary(String key,
Handler<AsyncResult<Buffer>> handler)
Get the value of a key - without decoding as utf-8
|
RedisClient |
getbit(String key,
long offset,
Handler<AsyncResult<Long>> handler)
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)
Get a substring of the string stored at a key
|
RedisClient |
getset(String key,
String value,
Handler<AsyncResult<String>> handler)
Set the string value of a key and return its old value
|
RedisClient |
hdel(String key,
String field,
Handler<AsyncResult<Long>> handler)
Delete one or more hash fields
|
RedisClient |
hdelMany(String key,
List<String> fields,
Handler<AsyncResult<Long>> handler)
Delete one or more hash fields
|
RedisClient |
hexists(String key,
String field,
Handler<AsyncResult<Long>> handler)
Determine if a hash field exists
|
RedisClient |
hget(String key,
String field,
Handler<AsyncResult<String>> handler)
Get the value of a hash field
|
RedisClient |
hgetall(String key,
Handler<AsyncResult<JsonObject>> handler)
Get all the fields and values in a hash
|
RedisClient |
hincrby(String key,
String field,
long increment,
Handler<AsyncResult<Long>> handler)
Increment the integer value of a hash field by the given number
|
RedisClient |
hincrbyfloat(String key,
String field,
double increment,
Handler<AsyncResult<String>> handler)
Increment the float value of a hash field by the given amount
|
RedisClient |
hkeys(String key,
Handler<AsyncResult<JsonArray>> handler)
Get all the fields in a hash
|
RedisClient |
hlen(String key,
Handler<AsyncResult<Long>> handler)
Get the number of fields in a hash
|
RedisClient |
hmget(String key,
List<String> fields,
Handler<AsyncResult<JsonArray>> handler)
Get the values of all the given hash fields
|
RedisClient |
hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields to multiple values
|
RedisClient |
hscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<JsonArray>> handler)
Incrementally iterate hash fields and associated values
|
RedisClient |
hset(String key,
String field,
String value,
Handler<AsyncResult<Long>> handler)
Set the string value of a hash field
|
RedisClient |
hsetnx(String key,
String field,
String value,
Handler<AsyncResult<Long>> handler)
Set the value of a hash field, only if the field does not exist
|
RedisClient |
hstrlen(String key,
String field,
Handler<AsyncResult<Long>> handler)
Get the length of the value of a hash field.
|
RedisClient |
hvals(String key,
Handler<AsyncResult<JsonArray>> handler)
Get all the values in a hash
|
RedisClient |
incr(String key,
Handler<AsyncResult<Long>> handler)
Increment the integer value of a key by one
|
RedisClient |
incrby(String key,
long increment,
Handler<AsyncResult<Long>> handler)
Increment the integer value of a key by the given amount
|
RedisClient |
incrbyfloat(String key,
double increment,
Handler<AsyncResult<String>> handler)
Increment the float value of a key by the given amount
|
RedisClient |
info(Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
RedisClient |
infoSection(String section,
Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
RedisClient |
keys(String pattern,
Handler<AsyncResult<JsonArray>> handler)
Find all keys matching the given pattern
|
RedisClient |
lastsave(Handler<AsyncResult<Long>> handler)
Get the UNIX time stamp of the last successful save to disk
|
RedisClient |
lindex(String key,
int index,
Handler<AsyncResult<String>> handler)
Get an element from a list by its index
|
RedisClient |
linsert(String key,
InsertOptions option,
String pivot,
String value,
Handler<AsyncResult<Long>> handler)
Insert an element before or after another element in a list
|
RedisClient |
llen(String key,
Handler<AsyncResult<Long>> handler)
Get the length of a list
|
RedisClient |
lpop(String key,
Handler<AsyncResult<String>> handler)
Remove and get the first element in a list
|
RedisClient |
lpush(String key,
String value,
Handler<AsyncResult<Long>> handler)
Prepend one value to a list
|
RedisClient |
lpushMany(String key,
List<String> values,
Handler<AsyncResult<Long>> handler)
Prepend one or multiple values to a list
|
RedisClient |
lpushx(String key,
String value,
Handler<AsyncResult<Long>> handler)
Prepend a value to a list, only if the list exists
|
RedisClient |
lrange(String key,
long from,
long to,
Handler<AsyncResult<JsonArray>> handler)
Get a range of elements from a list
|
RedisClient |
lrem(String key,
long count,
String value,
Handler<AsyncResult<Long>> handler)
Remove elements from a list
|
RedisClient |
lset(String key,
long index,
String value,
Handler<AsyncResult<String>> handler)
Set the value of an element in a list by its index
|
RedisClient |
ltrim(String key,
long from,
long to,
Handler<AsyncResult<String>> handler)
Trim a list to the specified range
|
RedisClient |
mget(String key,
Handler<AsyncResult<JsonArray>> handler)
Get the value of the given key
|
RedisClient |
mgetMany(List<String> keys,
Handler<AsyncResult<JsonArray>> handler)
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)
Atomically transfer a key from a Redis instance to another one.
|
RedisClient |
monitor(Handler<AsyncResult<Void>> handler)
Listen for all requests received by the server in real time
|
RedisClient |
move(String key,
int destdb,
Handler<AsyncResult<Long>> handler)
Move a key to another database
|
RedisClient |
mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values
|
RedisClient |
msetnx(JsonObject keyvals,
Handler<AsyncResult<Long>> handler)
Set multiple keys to multiple values, only if none of the keys exist
|
RedisClient |
object(String key,
ObjectCmd cmd,
Handler<AsyncResult<Void>> handler)
Inspect the internals of Redis objects
|
RedisClient |
persist(String key,
Handler<AsyncResult<Long>> handler)
Remove the expiration from a key
|
RedisClient |
pexpire(String key,
long millis,
Handler<AsyncResult<Long>> handler)
Set a key's time to live in milliseconds
|
RedisClient |
pexpireat(String key,
long millis,
Handler<AsyncResult<Long>> handler)
Set the expiration for a key as a UNIX timestamp specified in milliseconds
|
RedisClient |
pfadd(String key,
String element,
Handler<AsyncResult<Long>> handler)
Adds the specified element to the specified HyperLogLog.
|
RedisClient |
pfaddMany(String key,
List<String> elements,
Handler<AsyncResult<Long>> handler)
Adds the specified elements to the specified HyperLogLog.
|
RedisClient |
pfcount(String key,
Handler<AsyncResult<Long>> handler)
Return the approximated cardinality of the set observed by the HyperLogLog at key.
|
RedisClient |
pfcountMany(List<String> key,
Handler<AsyncResult<Long>> handler)
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)
Merge N different HyperLogLogs into a single one.
|
RedisClient |
ping(Handler<AsyncResult<String>> handler)
Ping the server
|
RedisClient |
psetex(String key,
long millis,
String value,
Handler<AsyncResult<Void>> handler)
Set the value and expiration in milliseconds of a key
|
RedisClient |
psubscribe(String pattern,
Handler<AsyncResult<JsonArray>> handler)
Listen for messages published to channels matching the given pattern
|
RedisClient |
psubscribeMany(List<String> patterns,
Handler<AsyncResult<JsonArray>> handler)
Listen for messages published to channels matching the given patterns
|
RedisClient |
pttl(String key,
Handler<AsyncResult<Long>> handler)
Get the time to live for a key in milliseconds
|
RedisClient |
publish(String channel,
String message,
Handler<AsyncResult<Long>> handler)
Post a message to a channel
|
RedisClient |
pubsubChannels(String pattern,
Handler<AsyncResult<JsonArray>> handler)
Lists the currently active channels - only those matching the pattern
|
RedisClient |
pubsubNumpat(Handler<AsyncResult<Long>> handler)
Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)
|
RedisClient |
pubsubNumsub(List<String> channels,
Handler<AsyncResult<JsonArray>> handler)
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels
|
RedisClient |
punsubscribe(List<String> patterns,
Handler<AsyncResult<Void>> handler)
Stop listening for messages posted to channels matching the given patterns
|
RedisClient |
randomkey(Handler<AsyncResult<String>> handler)
Return a random key from the keyspace
|
RedisClient |
rename(String key,
String newkey,
Handler<AsyncResult<String>> handler)
Rename a key
|
RedisClient |
renamenx(String key,
String newkey,
Handler<AsyncResult<Long>> handler)
Rename a key, only if the new key does not exist
|
RedisClient |
restore(String key,
long millis,
String serialized,
Handler<AsyncResult<String>> handler)
Create a key using the provided serialized value, previously obtained using DUMP.
|
RedisClient |
role(Handler<AsyncResult<JsonArray>> handler)
Return the role of the instance in the context of replication
|
RedisClient |
rpop(String key,
Handler<AsyncResult<String>> handler)
Remove and get the last element in a list
|
RedisClient |
rpoplpush(String key,
String destkey,
Handler<AsyncResult<String>> handler)
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)
Append one or multiple values to a list
|
RedisClient |
rpushMany(String key,
List<String> values,
Handler<AsyncResult<Long>> handler)
Append one or multiple values to a list
|
RedisClient |
rpushx(String key,
String value,
Handler<AsyncResult<Long>> handler)
Append a value to a list, only if the list exists
|
RedisClient |
sadd(String key,
String member,
Handler<AsyncResult<Long>> handler)
Add a member to a set
|
RedisClient |
saddMany(String key,
List<String> members,
Handler<AsyncResult<Long>> handler)
Add one or more members to a set
|
RedisClient |
save(Handler<AsyncResult<String>> handler)
Synchronously save the dataset to disk
|
RedisClient |
scan(String cursor,
ScanOptions options,
Handler<AsyncResult<JsonArray>> handler)
Incrementally iterate the keys space
|
RedisClient |
scard(String key,
Handler<AsyncResult<Long>> handler)
Get the number of members in a set
|
RedisClient |
scriptDebug(ScriptDebugOptions scriptDebugOptions,
Handler<AsyncResult<String>> handler)
Set the debug mode for executed scripts.
|
RedisClient |
scriptExists(String script,
Handler<AsyncResult<JsonArray>> handler)
Check existence of script in the script cache.
|
RedisClient |
scriptExistsMany(List<String> scripts,
Handler<AsyncResult<JsonArray>> handler)
Check existence of scripts in the script cache.
|
RedisClient |
scriptFlush(Handler<AsyncResult<String>> handler)
Remove all the scripts from the script cache.
|
RedisClient |
scriptKill(Handler<AsyncResult<String>> handler)
Kill the script currently in execution.
|
RedisClient |
scriptLoad(String script,
Handler<AsyncResult<String>> handler)
Load the specified Lua script into the script cache.
|
RedisClient |
sdiff(String key,
List<String> cmpkeys,
Handler<AsyncResult<JsonArray>> handler)
Subtract multiple sets
|
RedisClient |
sdiffstore(String destkey,
String key,
List<String> cmpkeys,
Handler<AsyncResult<Long>> handler)
Subtract multiple sets and store the resulting set in a key
|
RedisClient |
select(int dbindex,
Handler<AsyncResult<String>> handler)
Change the selected database for the current connection
|
RedisClient |
set(String key,
String value,
Handler<AsyncResult<Void>> handler)
Set the string value of a key
|
RedisClient |
setBinary(String key,
Buffer value,
Handler<AsyncResult<Void>> handler)
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)
Set the string value of a key
|
RedisClient |
setbit(String key,
long offset,
int bit,
Handler<AsyncResult<Long>> handler)
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)
Set the value and expiration of a key
|
RedisClient |
setnx(String key,
String value,
Handler<AsyncResult<Long>> handler)
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)
Overwrite part of a string at key starting at the specified offset
|
RedisClient |
setWithOptions(String key,
String value,
SetOptions options,
Handler<AsyncResult<String>> handler)
Set the string value of a key
|
RedisClient |
sinter(List<String> keys,
Handler<AsyncResult<JsonArray>> handler)
Intersect multiple sets
|
RedisClient |
sinterstore(String destkey,
List<String> keys,
Handler<AsyncResult<Long>> handler)
Intersect multiple sets and store the resulting set in a key
|
RedisClient |
sismember(String key,
String member,
Handler<AsyncResult<Long>> handler)
Determine if a given value is a member of a set
|
RedisClient |
slaveof(String host,
int port,
Handler<AsyncResult<String>> handler)
Make the server a slave of another instance
|
RedisClient |
slaveofNoone(Handler<AsyncResult<String>> handler)
Make this server a master
|
RedisClient |
slowlogGet(int limit,
Handler<AsyncResult<JsonArray>> handler)
Read the Redis slow queries log
|
RedisClient |
slowlogLen(Handler<AsyncResult<Long>> handler)
Get the length of the Redis slow queries log
|
RedisClient |
slowlogReset(Handler<AsyncResult<Void>> handler)
Reset the Redis slow queries log
|
RedisClient |
smembers(String key,
Handler<AsyncResult<JsonArray>> handler)
Get all the members in a set
|
RedisClient |
smove(String key,
String destkey,
String member,
Handler<AsyncResult<Long>> handler)
Move a member from one set to another
|
RedisClient |
sort(String key,
SortOptions options,
Handler<AsyncResult<JsonArray>> handler)
Sort the elements in a list, set or sorted set
|
RedisClient |
spop(String key,
Handler<AsyncResult<String>> handler)
Remove and return a random member from a set
|
RedisClient |
spopMany(String key,
int count,
Handler<AsyncResult<JsonArray>> handler)
Remove and return random members from a set
|
RedisClient |
srandmember(String key,
Handler<AsyncResult<String>> handler)
Get one or multiple random members from a set
|
RedisClient |
srandmemberCount(String key,
int count,
Handler<AsyncResult<JsonArray>> handler)
Get one or multiple random members from a set
|
RedisClient |
srem(String key,
String member,
Handler<AsyncResult<Long>> handler)
Remove one member from a set
|
RedisClient |
sremMany(String key,
List<String> members,
Handler<AsyncResult<Long>> handler)
Remove one or more members from a set
|
RedisClient |
sscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<JsonArray>> handler)
Incrementally iterate Set elements
|
RedisClient |
strlen(String key,
Handler<AsyncResult<Long>> handler)
Get the length of the value stored in a key
|
RedisClient |
subscribe(String channel,
Handler<AsyncResult<JsonArray>> handler)
Listen for messages published to the given channels
|
RedisClient |
subscribeMany(List<String> channels,
Handler<AsyncResult<JsonArray>> handler)
Listen for messages published to the given channels
|
RedisClient |
sunion(List<String> keys,
Handler<AsyncResult<JsonArray>> handler)
Add multiple sets
|
RedisClient |
sunionstore(String destkey,
List<String> keys,
Handler<AsyncResult<Long>> handler)
Add multiple sets and store the resulting set in a key
|
RedisClient |
swapdb(int index1,
int index2,
Handler<AsyncResult<String>> handler)
Swaps two Redis databases
|
RedisClient |
sync(Handler<AsyncResult<Void>> handler)
Internal command used for replication
|
RedisClient |
time(Handler<AsyncResult<JsonArray>> handler)
Return the current server time
|
RedisClient |
touch(String key,
Handler<AsyncResult<Long>> handler)
Alters the last access time of a key(s).
|
RedisClient |
touchMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Alters the last access time of a key(s).
|
RedisTransaction |
transaction()
Return a RedisTransaction instance
|
RedisClient |
ttl(String key,
Handler<AsyncResult<Long>> handler)
Get the time to live for a key
|
RedisClient |
type(String key,
Handler<AsyncResult<String>> handler)
Determine the type stored at key
|
RedisClient |
unlink(String key,
Handler<AsyncResult<Long>> handler)
Delete a key asynchronously in another thread.
|
RedisClient |
unlinkMany(List<String> keys,
Handler<AsyncResult<Long>> handler)
Delete multiple keys asynchronously in another thread.
|
RedisClient |
unsubscribe(List<String> channels,
Handler<AsyncResult<Void>> handler)
Stop listening for messages posted to the given channels
|
RedisClient |
wait(long numSlaves,
long timeout,
Handler<AsyncResult<String>> handler)
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)
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)
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)
Get the number of members in a sorted set
|
RedisClient |
zcount(String key,
double min,
double max,
Handler<AsyncResult<Long>> handler)
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)
Increment the score of a member in a sorted set
|
RedisClient |
zinterstore(String destkey,
List<String> sets,
AggregateOptions options,
Handler<AsyncResult<Long>> handler)
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)
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)
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)
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)
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)
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)
Return a range of members in a sorted set, by index
|
RedisClient |
zrank(String key,
String member,
Handler<AsyncResult<Long>> handler)
Determine the index of a member in a sorted set
|
RedisClient |
zrem(String key,
String member,
Handler<AsyncResult<Long>> handler)
Remove one member from a sorted set
|
RedisClient |
zremMany(String key,
List<String> members,
Handler<AsyncResult<Long>> handler)
Remove one or more members from a sorted set
|
RedisClient |
zremrangebylex(String key,
String min,
String max,
Handler<AsyncResult<Long>> handler)
Remove all members in a sorted set between the given lexicographical range
|
RedisClient |
zremrangebyrank(String key,
long start,
long stop,
Handler<AsyncResult<Long>> handler)
Remove all members in a sorted set within the given indexes
|
RedisClient |
zremrangebyscore(String key,
String min,
String max,
Handler<AsyncResult<Long>> handler)
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)
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)
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)
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)
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)
Incrementally iterate sorted sets elements and associated scores
|
RedisClient |
zscore(String key,
String member,
Handler<AsyncResult<String>> handler)
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)
Add multiple sorted sets and store the resulting sorted set in a new key
|
RedisClient |
zunionstoreWeighed(String destkey,
Map<String,Double> sets,
AggregateOptions options,
Handler<AsyncResult<Long>> handler)
Add multiple sorted sets using weights, and store the resulting sorted set in a new key
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, createpublic RedisClientImpl(Vertx vertx, RedisOptions options)
public void close(Handler<AsyncResult<Void>> handler)
RedisClientclose in interface RedisClientpublic RedisClient append(String key, String value, Handler<AsyncResult<Long>> handler)
RedisClientappend in interface RedisClientkey - Key stringvalue - Value to appendhandler - Handler for the result of this call.public RedisClient auth(String password, Handler<AsyncResult<String>> handler)
RedisClientauth in interface RedisClientpassword - Password for authenticationhandler - Handler for the result of this call.public RedisClient bgrewriteaof(Handler<AsyncResult<String>> handler)
RedisClientbgrewriteaof in interface RedisClientpublic RedisClient bgsave(Handler<AsyncResult<String>> handler)
RedisClientbgsave in interface RedisClientpublic RedisClient bitcount(String key, Handler<AsyncResult<Long>> handler)
RedisClientbitcount in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient bitcountRange(String key, long start, long end, Handler<AsyncResult<Long>> handler)
RedisClientbitcountRange in interface RedisClientkey - Key stringstart - Start indexend - End indexhandler - Handler for the result of this call.public RedisClient bitop(BitOperation operation, String destkey, List<String> keys, Handler<AsyncResult<Long>> handler)
RedisClientbitop in interface RedisClientoperation - 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.public RedisClient bitpos(String key, int bit, Handler<AsyncResult<Long>> handler)
RedisClientbitpos in interface RedisClientkey - Key stringbit - What bit value to look for - must be 1, or 0handler - Handler for the result of this call.public RedisClient bitposFrom(String key, int bit, int start, Handler<AsyncResult<Long>> handler)
RedisClientbitposFrom in interface RedisClientkey - Key stringbit - What bit value to look for - must be 1, or 0start - Start offsethandler - Handler for the result of this call.public RedisClient bitposRange(String key, int bit, int start, int stop, Handler<AsyncResult<Long>> handler)
RedisClientbitposRange in interface RedisClientkey - 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.public RedisClient blpop(String key, int seconds, Handler<AsyncResult<JsonArray>> handler)
RedisClientblpop in interface RedisClientkey - Key string identifying a list to watchseconds - Timeout in secondshandler - Handler for the result of this call.public RedisClient blpopMany(List<String> keys, int seconds, Handler<AsyncResult<JsonArray>> handler)
RedisClientblpopMany in interface RedisClientkeys - List of key strings identifying lists to watchseconds - Timeout in secondshandler - Handler for the result of this call.public RedisClient brpop(String key, int seconds, Handler<AsyncResult<JsonArray>> handler)
RedisClientbrpop in interface RedisClientkey - Key string identifying a list to watchseconds - Timeout in secondshandler - Handler for the result of this call.public RedisClient brpopMany(List<String> keys, int seconds, Handler<AsyncResult<JsonArray>> handler)
RedisClientbrpopMany in interface RedisClientkeys - List of key strings identifying lists to watchseconds - Timeout in secondshandler - Handler for the result of this call.public RedisClient brpoplpush(String key, String destkey, int seconds, Handler<AsyncResult<String>> handler)
RedisClientbrpoplpush in interface RedisClientkey - Key string identifying the source listdestkey - Key string identifying the destination listseconds - Timeout in secondshandler - Handler for the result of this call.public RedisClient clientKill(KillFilter filter, Handler<AsyncResult<Long>> handler)
RedisClientclientKill in interface RedisClientfilter - Filter optionshandler - Handler for the result of this call.public RedisClient clientList(Handler<AsyncResult<String>> handler)
RedisClientclientList in interface RedisClientpublic RedisClient clientGetname(Handler<AsyncResult<String>> handler)
RedisClientclientGetname in interface RedisClientpublic RedisClient clientPause(long millis, Handler<AsyncResult<String>> handler)
RedisClientclientPause in interface RedisClientmillis - Pause time in millisecondshandler - Handler for the result of this call.public RedisClient clientSetname(String name, Handler<AsyncResult<String>> handler)
RedisClientclientSetname in interface RedisClientname - New name for current connectionhandler - Handler for the result of this call.public RedisClient clusterAddslots(List<Long> slots, Handler<AsyncResult<Void>> handler)
RedisClientclusterAddslots in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterCountFailureReports(String nodeId, Handler<AsyncResult<Long>> handler)
RedisClientclusterCountFailureReports in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterCountkeysinslot(long slot, Handler<AsyncResult<Long>> handler)
RedisClientclusterCountkeysinslot in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterDelslots(long slot, Handler<AsyncResult<Void>> handler)
RedisClientclusterDelslots in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterDelslotsMany(List<Long> slots, Handler<AsyncResult<Void>> handler)
RedisClientclusterDelslotsMany in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterFailover(Handler<AsyncResult<Void>> handler)
RedisClientclusterFailover in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterFailOverWithOptions(FailoverOptions options, Handler<AsyncResult<Void>> handler)
RedisClientclusterFailOverWithOptions in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterForget(String nodeId, Handler<AsyncResult<Void>> handler)
RedisClientclusterForget in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterGetkeysinslot(long slot, long count, Handler<AsyncResult<JsonArray>> handler)
RedisClientclusterGetkeysinslot in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterInfo(Handler<AsyncResult<JsonArray>> handler)
RedisClientclusterInfo in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterKeyslot(String key, Handler<AsyncResult<Long>> handler)
RedisClientclusterKeyslot in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterMeet(String ip, long port, Handler<AsyncResult<Void>> handler)
RedisClientclusterMeet in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterNodes(Handler<AsyncResult<JsonArray>> handler)
RedisClientclusterNodes in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterReplicate(String nodeId, Handler<AsyncResult<Void>> handler)
RedisClientclusterReplicate in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterReset(Handler<AsyncResult<Void>> handler)
RedisClientclusterReset in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterResetWithOptions(ResetOptions options, Handler<AsyncResult<Void>> handler)
RedisClientclusterResetWithOptions in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterSaveconfig(Handler<AsyncResult<Void>> handler)
RedisClientclusterSaveconfig in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterSetConfigEpoch(long epoch, Handler<AsyncResult<Void>> handler)
RedisClientclusterSetConfigEpoch in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterSetslot(long slot, SlotCmd subcommand, Handler<AsyncResult<Void>> handler)
RedisClientclusterSetslot in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterSetslotWithNode(long slot, SlotCmd subcommand, String nodeId, Handler<AsyncResult<Void>> handler)
RedisClientclusterSetslotWithNode in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterSlaves(String nodeId, Handler<AsyncResult<JsonArray>> handler)
RedisClientclusterSlaves in interface RedisClienthandler - Handler for the result of this call.public RedisClient clusterSlots(Handler<AsyncResult<JsonArray>> handler)
RedisClientclusterSlots in interface RedisClientpublic RedisClient command(Handler<AsyncResult<JsonArray>> handler)
RedisClientcommand in interface RedisClientpublic RedisClient commandCount(Handler<AsyncResult<Long>> handler)
RedisClientcommandCount in interface RedisClientpublic RedisClient commandGetkeys(Handler<AsyncResult<JsonArray>> handler)
RedisClientcommandGetkeys in interface RedisClientpublic RedisClient commandInfo(List<String> commands, Handler<AsyncResult<JsonArray>> handler)
RedisClientcommandInfo in interface RedisClientcommands - List of commands to get info forhandler - Handler for the result of this call.public RedisClient configGet(String parameter, Handler<AsyncResult<JsonArray>> handler)
RedisClientconfigGet in interface RedisClientparameter - Configuration parameterhandler - Handler for the result of this call.public RedisClient configRewrite(Handler<AsyncResult<String>> handler)
RedisClientconfigRewrite in interface RedisClientpublic RedisClient configSet(String parameter, String value, Handler<AsyncResult<String>> handler)
RedisClientconfigSet in interface RedisClientparameter - Configuration parametervalue - New valuehandler - Handler for the result of this call.public RedisClient configResetstat(Handler<AsyncResult<String>> handler)
RedisClientconfigResetstat in interface RedisClientpublic RedisClient dbsize(Handler<AsyncResult<Long>> handler)
RedisClientdbsize in interface RedisClientpublic RedisClient debugObject(String key, Handler<AsyncResult<String>> handler)
RedisClientdebugObject in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient debugSegfault(Handler<AsyncResult<String>> handler)
RedisClientdebugSegfault in interface RedisClientpublic RedisClient decr(String key, Handler<AsyncResult<Long>> handler)
RedisClientdecr in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient decrby(String key, long decrement, Handler<AsyncResult<Long>> handler)
RedisClientdecrby in interface RedisClientkey - Key stringdecrement - Value by which to decrementhandler - Handler for the result of this call.public RedisClient del(String key, Handler<AsyncResult<Long>> handler)
RedisClientdel in interface RedisClientkey - Keys to deletehandler - Handler for the result of this call.public RedisClient delMany(List<String> keys, Handler<AsyncResult<Long>> handler)
RedisClientdelMany in interface RedisClientkeys - List of keys to deletehandler - Handler for the result of this call.public RedisClient dump(String key, Handler<AsyncResult<String>> handler)
RedisClientdump in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient echo(String message, Handler<AsyncResult<String>> handler)
RedisClientecho in interface RedisClientmessage - String to echohandler - Handler for the result of this call.public RedisClient eval(String script, List<String> keys, List<String> args, Handler<AsyncResult<JsonArray>> handler)
RedisClienteval in interface RedisClientscript - Lua script to evaluatekeys - List of keysargs - List of argument valueshandler - Handler for the result of this call.public RedisClient evalsha(String sha1, List<String> keys, List<String> args, Handler<AsyncResult<JsonArray>> handler)
RedisClientevalsha in interface RedisClientsha1 - SHA1 digest of the script cached on the serverkeys - List of keysargs - List of valueshandler - Handler for the result of this call.public RedisClient evalScript(Script script, List<String> keys, List<String> args, Handler<AsyncResult<JsonArray>> handler)
RedisClientevalScript in interface RedisClientscript - Lua script and its SHA1 digestkeys - List of keysargs - List of argument valueshandler - Handler for the result of this call.
group: scriptingpublic RedisClient exists(String key, Handler<AsyncResult<Long>> handler)
RedisClientexists in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient existsMany(List<String> keys, Handler<AsyncResult<Long>> handler)
RedisClientexistsMany in interface RedisClientkeys - List of key stringshandler - Handler for the result of this call.public RedisClient expire(String key, long seconds, Handler<AsyncResult<Long>> handler)
RedisClientexpire in interface RedisClientkey - Key stringseconds - Time to live in secondshandler - Handler for the result of this call.public RedisClient expireat(String key, long seconds, Handler<AsyncResult<Long>> handler)
RedisClientexpireat in interface RedisClientkey - Key stringseconds - Expiry time as Unix timestamp in secondshandler - Handler for the result of this call.public RedisClient flushall(Handler<AsyncResult<String>> handler)
RedisClientflushall in interface RedisClientpublic RedisClient flushdb(Handler<AsyncResult<String>> handler)
RedisClientflushdb in interface RedisClientpublic RedisClient get(String key, Handler<AsyncResult<String>> handler)
RedisClientget in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient getBinary(String key, Handler<AsyncResult<Buffer>> handler)
RedisClientgetBinary in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient getbit(String key, long offset, Handler<AsyncResult<Long>> handler)
RedisClientgetbit in interface RedisClientkey - Key stringoffset - Offset in bitshandler - Handler for the result of this call.public RedisClient getrange(String key, long start, long end, Handler<AsyncResult<String>> handler)
RedisClientgetrange in interface RedisClientkey - Key stringstart - Start offsetend - End offset - inclusivehandler - Handler for the result of this call.public RedisClient getset(String key, String value, Handler<AsyncResult<String>> handler)
RedisClientgetset in interface RedisClientkey - Key of which value to setvalue - New value for the keyhandler - Handler for the result of this call.public RedisClient hdel(String key, String field, Handler<AsyncResult<Long>> handler)
RedisClienthdel in interface RedisClientkey - Key stringfield - Field namehandler - Handler for the result of this call.public RedisClient hdelMany(String key, List<String> fields, Handler<AsyncResult<Long>> handler)
RedisClienthdelMany in interface RedisClientkey - Key stringfields - Field nameshandler - Handler for the result of this call.public RedisClient hexists(String key, String field, Handler<AsyncResult<Long>> handler)
RedisClienthexists in interface RedisClientkey - Key stringfield - Field namehandler - Handler for the result of this call.public RedisClient hget(String key, String field, Handler<AsyncResult<String>> handler)
RedisClienthget in interface RedisClientkey - Key stringfield - Field namehandler - Handler for the result of this call.public RedisClient hgetall(String key, Handler<AsyncResult<JsonObject>> handler)
RedisClienthgetall in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient hincrby(String key, String field, long increment, Handler<AsyncResult<Long>> handler)
RedisClienthincrby in interface RedisClientkey - Key stringfield - Field nameincrement - Value by which to incrementhandler - Handler for the result of this call.public RedisClient hincrbyfloat(String key, String field, double increment, Handler<AsyncResult<String>> handler)
RedisClienthincrbyfloat in interface RedisClientkey - Key stringfield - Field nameincrement - Value by which to incrementhandler - Handler for the result of this call.public RedisClient hkeys(String key, Handler<AsyncResult<JsonArray>> handler)
RedisClienthkeys in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient hlen(String key, Handler<AsyncResult<Long>> handler)
RedisClienthlen in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient hmget(String key, List<String> fields, Handler<AsyncResult<JsonArray>> handler)
RedisClienthmget in interface RedisClientkey - Key stringfields - Field nameshandler - Handler for the result of this call.public RedisClient hmset(String key, JsonObject values, Handler<AsyncResult<String>> handler)
RedisClienthmset in interface RedisClientkey - Key stringvalues - Map of field:value pairshandler - Handler for the result of this call.public RedisClient hset(String key, String field, String value, Handler<AsyncResult<Long>> handler)
RedisClienthset in interface RedisClientkey - Key stringfield - Field namevalue - New valuehandler - Handler for the result of this call.public RedisClient hsetnx(String key, String field, String value, Handler<AsyncResult<Long>> handler)
RedisClienthsetnx in interface RedisClientkey - Key stringfield - Field namevalue - New valuehandler - Handler for the result of this call.public RedisClient hvals(String key, Handler<AsyncResult<JsonArray>> handler)
RedisClienthvals in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient incr(String key, Handler<AsyncResult<Long>> handler)
RedisClientincr in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient incrby(String key, long increment, Handler<AsyncResult<Long>> handler)
RedisClientincrby in interface RedisClientkey - Key stringincrement - Value by which to incrementhandler - Handler for the result of this call.public RedisClient incrbyfloat(String key, double increment, Handler<AsyncResult<String>> handler)
RedisClientincrbyfloat in interface RedisClientkey - Key stringincrement - Value by which to incrementhandler - Handler for the result of this call.public RedisClient info(Handler<AsyncResult<JsonObject>> handler)
RedisClientinfo in interface RedisClienthandler - Handler for the result of this call.public RedisClient infoSection(String section, Handler<AsyncResult<JsonObject>> handler)
RedisClientinfoSection in interface RedisClientsection - Specific section of information to returnhandler - Handler for the result of this call.public RedisClient keys(String pattern, Handler<AsyncResult<JsonArray>> handler)
RedisClientkeys in interface RedisClientpattern - Pattern to limit the keys returnedhandler - Handler for the result of this call.public RedisClient lastsave(Handler<AsyncResult<Long>> handler)
RedisClientlastsave in interface RedisClientpublic RedisClient lindex(String key, int index, Handler<AsyncResult<String>> handler)
RedisClientlindex in interface RedisClientkey - Key stringindex - Index of list element to gethandler - Handler for the result of this call.public RedisClient linsert(String key, InsertOptions option, String pivot, String value, Handler<AsyncResult<Long>> handler)
RedisClientlinsert in interface RedisClientkey - 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.public RedisClient llen(String key, Handler<AsyncResult<Long>> handler)
RedisClientllen in interface RedisClientkey - String keyhandler - Handler for the result of this call.public RedisClient lpop(String key, Handler<AsyncResult<String>> handler)
RedisClientlpop in interface RedisClientkey - String keyhandler - Handler for the result of this call.public RedisClient lpushMany(String key, List<String> values, Handler<AsyncResult<Long>> handler)
RedisClientlpushMany in interface RedisClientkey - Key stringvalues - Values to be added at the beginning of the list, one by onehandler - Handler for the result of this call.public RedisClient lpush(String key, String value, Handler<AsyncResult<Long>> handler)
RedisClientlpush in interface RedisClientkey - Key stringvalue - Value to be added at the beginning of the listhandler - Handler for the result of this call.public RedisClient lpushx(String key, String value, Handler<AsyncResult<Long>> handler)
RedisClientlpushx in interface RedisClientkey - Key stringvalue - Value to add at the beginning of the listhandler - Handler for the result of this call.public RedisClient lrange(String key, long from, long to, Handler<AsyncResult<JsonArray>> handler)
RedisClientlrange in interface RedisClientkey - Key stringfrom - Start indexto - Stop indexhandler - Handler for the result of this call.public RedisClient lrem(String key, long count, String value, Handler<AsyncResult<Long>> handler)
RedisClientlrem in interface RedisClientkey - 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.public RedisClient lset(String key, long index, String value, Handler<AsyncResult<String>> handler)
RedisClientlset in interface RedisClientkey - Key stringindex - Position within listvalue - New valuehandler - Handler for the result of this call.public RedisClient ltrim(String key, long from, long to, Handler<AsyncResult<String>> handler)
RedisClientltrim in interface RedisClientkey - Key stringfrom - Start indexto - Stop indexhandler - Handler for the result of this call.public RedisClient mget(String key, Handler<AsyncResult<JsonArray>> handler)
RedisClientmget in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient mgetMany(List<String> keys, Handler<AsyncResult<JsonArray>> handler)
RedisClientmgetMany in interface RedisClientkeys - List of keys to gethandler - Handler for the result of this call.public RedisClient migrate(String host, int port, String key, int destdb, long timeout, MigrateOptions options, Handler<AsyncResult<String>> handler)
RedisClientmigrate in interface RedisClienthost - Destination hostport - Destination portkey - Key to migratedestdb - Destination database indexoptions - Migrate optionshandler - Handler for the result of this call.public RedisClient monitor(Handler<AsyncResult<Void>> handler)
RedisClientmonitor in interface RedisClientpublic RedisClient move(String key, int destdb, Handler<AsyncResult<Long>> handler)
RedisClientmove in interface RedisClientkey - Key to migratedestdb - Destination database indexhandler - Handler for the result of this call.public RedisClient mset(JsonObject keyvals, Handler<AsyncResult<String>> handler)
RedisClientmset in interface RedisClientkeyvals - Key value pairs to sethandler - Handler for the result of this call.public RedisClient msetnx(JsonObject keyvals, Handler<AsyncResult<Long>> handler)
RedisClientmsetnx in interface RedisClientkeyvals - Key value pairs to sethandler - Handler for the result of this call.public RedisClient object(String key, ObjectCmd cmd, Handler<AsyncResult<Void>> handler)
RedisClientobject in interface RedisClientkey - Key stringcmd - Object sub commandhandler - Handler for the result of this call.public RedisClient persist(String key, Handler<AsyncResult<Long>> handler)
RedisClientpersist in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient pexpire(String key, long millis, Handler<AsyncResult<Long>> handler)
RedisClientpexpire in interface RedisClientkey - String keymillis - Time to live in millisecondshandler - Handler for the result of this call.public RedisClient pexpireat(String key, long millis, Handler<AsyncResult<Long>> handler)
RedisClientpexpireat in interface RedisClientkey - Key stringmillis - Expiry time as Unix timestamp in millisecondshandler - Handler for the result of this call.public RedisClient pfadd(String key, String element, Handler<AsyncResult<Long>> handler)
RedisClientpfadd in interface RedisClientkey - Key stringelement - Element to addhandler - Handler for the result of this call.public RedisClient pfaddMany(String key, List<String> elements, Handler<AsyncResult<Long>> handler)
RedisClientpfaddMany in interface RedisClientkey - Key stringelements - Elementa to addhandler - Handler for the result of this call.public RedisClient pfcount(String key, Handler<AsyncResult<Long>> handler)
RedisClientpfcount in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient pfcountMany(List<String> key, Handler<AsyncResult<Long>> handler)
RedisClientpfcountMany in interface RedisClientkey - List of keyshandler - Handler for the result of this call.public RedisClient pfmerge(String destkey, List<String> keys, Handler<AsyncResult<String>> handler)
RedisClientpfmerge in interface RedisClientdestkey - Destination keykeys - List of source keyshandler - Handler for the result of this call.public RedisClient ping(Handler<AsyncResult<String>> handler)
RedisClientping in interface RedisClientpublic RedisClient psetex(String key, long millis, String value, Handler<AsyncResult<Void>> handler)
RedisClientpsetex in interface RedisClientkey - Key stringmillis - Number of milliseconds until the key expiresvalue - New value for keyhandler - Handler for the result of this call.public RedisClient psubscribe(String pattern, Handler<AsyncResult<JsonArray>> handler)
RedisClientpsubscribe in interface RedisClientpattern - Pattern stringhandler - Handler for the result of this call.public RedisClient psubscribeMany(List<String> patterns, Handler<AsyncResult<JsonArray>> handler)
RedisClientpsubscribeMany in interface RedisClientpatterns - List of patternshandler - Handler for the result of this call.public RedisClient pubsubChannels(String pattern, Handler<AsyncResult<JsonArray>> handler)
RedisClientpubsubChannels in interface RedisClientpattern - A glob-style pattern - an empty string means no patternhandler - Handler for the result of this call.public RedisClient pubsubNumsub(List<String> channels, Handler<AsyncResult<JsonArray>> handler)
RedisClientpubsubNumsub in interface RedisClientchannels - List of channelshandler - Handler for the result of this call.public RedisClient pubsubNumpat(Handler<AsyncResult<Long>> handler)
RedisClientpubsubNumpat in interface RedisClienthandler - Handler for the result of this call.public RedisClient pttl(String key, Handler<AsyncResult<Long>> handler)
RedisClientpttl in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient publish(String channel, String message, Handler<AsyncResult<Long>> handler)
RedisClientpublish in interface RedisClientchannel - Channel keymessage - Message to send to channelhandler - Handler for the result of this call.public RedisClient punsubscribe(List<String> patterns, Handler<AsyncResult<Void>> handler)
RedisClientpunsubscribe in interface RedisClientpatterns - List of patterns to match againsthandler - Handler for the result of this call.public RedisClient randomkey(Handler<AsyncResult<String>> handler)
RedisClientrandomkey in interface RedisClientpublic RedisClient rename(String key, String newkey, Handler<AsyncResult<String>> handler)
RedisClientrename in interface RedisClientkey - Key string to be renamednewkey - New key stringhandler - Handler for the result of this call.public RedisClient renamenx(String key, String newkey, Handler<AsyncResult<Long>> handler)
RedisClientrenamenx in interface RedisClientkey - Key string to be renamednewkey - New key stringhandler - Handler for the result of this call.public RedisClient restore(String key, long millis, String serialized, Handler<AsyncResult<String>> handler)
RedisClientrestore in interface RedisClientkey - 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.public RedisClient role(Handler<AsyncResult<JsonArray>> handler)
RedisClientrole in interface RedisClientpublic RedisClient rpop(String key, Handler<AsyncResult<String>> handler)
RedisClientrpop in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient rpoplpush(String key, String destkey, Handler<AsyncResult<String>> handler)
RedisClientrpoplpush in interface RedisClientkey - Key string identifying source listdestkey - Key string identifying destination listhandler - Handler for the result of this call.public RedisClient rpushMany(String key, List<String> values, Handler<AsyncResult<Long>> handler)
RedisClientrpushMany in interface RedisClientkey - Key stringvalues - List of values to add to the end of the listhandler - Handler for the result of this call.public RedisClient rpush(String key, String value, Handler<AsyncResult<Long>> handler)
RedisClientrpush in interface RedisClientkey - Key stringvalue - Value to be added to the end of the listhandler - Handler for the result of this call.public RedisClient rpushx(String key, String value, Handler<AsyncResult<Long>> handler)
RedisClientrpushx in interface RedisClientkey - Key stringvalue - Value to be added to the end of the listhandler - Handler for the result of this call.public RedisClient sadd(String key, String member, Handler<AsyncResult<Long>> handler)
RedisClientsadd in interface RedisClientkey - Key stringmember - Value to be added to the sethandler - Handler for the result of this call.public RedisClient saddMany(String key, List<String> members, Handler<AsyncResult<Long>> handler)
RedisClientsaddMany in interface RedisClientkey - Key stringmembers - Values to be added to the sethandler - Handler for the result of this call.public RedisClient save(Handler<AsyncResult<String>> handler)
RedisClientsave in interface RedisClientpublic RedisClient scard(String key, Handler<AsyncResult<Long>> handler)
RedisClientscard in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient scriptExists(String script, Handler<AsyncResult<JsonArray>> handler)
RedisClientscriptExists in interface RedisClientscript - SHA1 digest identifying a script in the script cachehandler - Handler for the result of this call.public RedisClient scriptExistsMany(List<String> scripts, Handler<AsyncResult<JsonArray>> handler)
RedisClientscriptExistsMany in interface RedisClientscripts - List of SHA1 digests identifying scripts in the script cachehandler - Handler for the result of this call.public RedisClient scriptFlush(Handler<AsyncResult<String>> handler)
RedisClientscriptFlush in interface RedisClientpublic RedisClient scriptKill(Handler<AsyncResult<String>> handler)
RedisClientscriptKill in interface RedisClientpublic RedisClient scriptLoad(String script, Handler<AsyncResult<String>> handler)
RedisClientscriptLoad in interface RedisClientscript - Lua scripthandler - Handler for the result of this call.public RedisClient sdiff(String key, List<String> cmpkeys, Handler<AsyncResult<JsonArray>> handler)
RedisClientsdiff in interface RedisClientkey - 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.public RedisClient sdiffstore(String destkey, String key, List<String> cmpkeys, Handler<AsyncResult<Long>> handler)
RedisClientsdiffstore in interface RedisClientdestkey - 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.public RedisClient select(int dbindex, Handler<AsyncResult<String>> handler)
RedisClientselect in interface RedisClientdbindex - Index identifying the new active databasehandler - Handler for the result of this call.public RedisClient set(String key, String value, Handler<AsyncResult<Void>> handler)
RedisClientset in interface RedisClientkey - Key of which value to setvalue - New value for the keyhandler - Handler for the result of this call.public RedisClient setWithOptions(String key, String value, SetOptions options, Handler<AsyncResult<String>> handler)
RedisClientsetWithOptions in interface RedisClientkey - Key of which value to setvalue - New value for the keyoptions - Set optionshandler - Handler for the result of this call.public RedisClient setBinary(String key, Buffer value, Handler<AsyncResult<Void>> handler)
RedisClientsetBinary in interface RedisClientkey - Key of which value to setvalue - New value for the keyhandler - Handler for the result of this call.public RedisClient setBinaryWithOptions(String key, Buffer value, SetOptions options, Handler<AsyncResult<Void>> handler)
RedisClientsetBinaryWithOptions in interface RedisClientkey - Key of which value to setvalue - New value for the keyoptions - Set optionshandler - Handler for the result of this call.public RedisClient setbit(String key, long offset, int bit, Handler<AsyncResult<Long>> handler)
RedisClientsetbit in interface RedisClientkey - Key stringoffset - Bit offsetbit - New value - must be 1 or 0handler - Handler for the result of this call.public RedisClient setex(String key, long seconds, String value, Handler<AsyncResult<String>> handler)
RedisClientsetex in interface RedisClientkey - Key stringseconds - Number of seconds until the key expiresvalue - New value for keyhandler - Handler for the result of this call.public RedisClient setnx(String key, String value, Handler<AsyncResult<Long>> handler)
RedisClientsetnx in interface RedisClientkey - Key of which value to setvalue - New value for the keyhandler - Handler for the result of this call.public RedisClient setrange(String key, int offset, String value, Handler<AsyncResult<Long>> handler)
RedisClientsetrange in interface RedisClientkey - 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.public RedisClient sinter(List<String> keys, Handler<AsyncResult<JsonArray>> handler)
RedisClientsinter in interface RedisClientkeys - List of keys to perform intersection onhandler - Handler for the result of this call.public RedisClient sinterstore(String destkey, List<String> keys, Handler<AsyncResult<Long>> handler)
RedisClientsinterstore in interface RedisClientdestkey - Key where to store the resultskeys - List of keys to perform intersection onhandler - Handler for the result of this call.public RedisClient sismember(String key, String member, Handler<AsyncResult<Long>> handler)
RedisClientsismember in interface RedisClientkey - Key stringmember - Member to look forhandler - Handler for the result of this call.public RedisClient slaveof(String host, int port, Handler<AsyncResult<String>> handler)
RedisClientslaveof in interface RedisClienthost - Host to become this server's masterport - Port of our new masterhandler - Handler for the result of this call.public RedisClient slaveofNoone(Handler<AsyncResult<String>> handler)
RedisClientslaveofNoone in interface RedisClienthandler - Handler for the result of this call.public RedisClient slowlogGet(int limit, Handler<AsyncResult<JsonArray>> handler)
RedisClientslowlogGet in interface RedisClientlimit - Number of log entries to return. If value is less than zero all entries are returnedhandler - Handler for the result of this call.public RedisClient slowlogLen(Handler<AsyncResult<Long>> handler)
RedisClientslowlogLen in interface RedisClienthandler - Handler for the result of this call.public RedisClient slowlogReset(Handler<AsyncResult<Void>> handler)
RedisClientslowlogReset in interface RedisClienthandler - Handler for the result of this call.public RedisClient smembers(String key, Handler<AsyncResult<JsonArray>> handler)
RedisClientsmembers in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient smove(String key, String destkey, String member, Handler<AsyncResult<Long>> handler)
RedisClientsmove in interface RedisClientkey - Key of source set currently containing the memberdestkey - Key identifying the destination setmember - Member to movehandler - Handler for the result of this call.public RedisClient sort(String key, SortOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientsort in interface RedisClientkey - Key stringoptions - Sort optionshandler - Handler for the result of this call.public RedisClient spop(String key, Handler<AsyncResult<String>> handler)
RedisClientspop in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient spopMany(String key, int count, Handler<AsyncResult<JsonArray>> handler)
RedisClientspopMany in interface RedisClientkey - Key stringcount - Number of members to removehandler - Handler for the result of this call.public RedisClient srandmember(String key, Handler<AsyncResult<String>> handler)
RedisClientsrandmember in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient srandmemberCount(String key, int count, Handler<AsyncResult<JsonArray>> handler)
RedisClientsrandmemberCount in interface RedisClientkey - Key stringcount - Number of members to gethandler - Handler for the result of this call.public RedisClient srem(String key, String member, Handler<AsyncResult<Long>> handler)
RedisClientsrem in interface RedisClientkey - Key stringmember - Member to removehandler - Handler for the result of this call.public RedisClient sremMany(String key, List<String> members, Handler<AsyncResult<Long>> handler)
RedisClientsremMany in interface RedisClientkey - Key stringmembers - Members to removehandler - Handler for the result of this call.public RedisClient strlen(String key, Handler<AsyncResult<Long>> handler)
RedisClientstrlen in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient subscribe(String channel, Handler<AsyncResult<JsonArray>> handler)
RedisClientsubscribe in interface RedisClientchannel - Channel to subscribe tohandler - Handler for the result of this call.public RedisClient subscribeMany(List<String> channels, Handler<AsyncResult<JsonArray>> handler)
RedisClientsubscribeMany in interface RedisClientchannels - List of channels to subscribe tohandler - Handler for the result of this call.public RedisClient sunion(List<String> keys, Handler<AsyncResult<JsonArray>> handler)
RedisClientsunion in interface RedisClientkeys - List of keys identifying sets to add uphandler - Handler for the result of this call.public RedisClient sunionstore(String destkey, List<String> keys, Handler<AsyncResult<Long>> handler)
RedisClientsunionstore in interface RedisClientdestkey - Destination keykeys - List of keys identifying sets to add uphandler - Handler for the result of this call.public RedisClient sync(Handler<AsyncResult<Void>> handler)
RedisClientsync in interface RedisClientpublic RedisClient time(Handler<AsyncResult<JsonArray>> handler)
RedisClienttime in interface RedisClientpublic RedisTransaction transaction()
RedisClienttransaction in interface RedisClientpublic RedisClient ttl(String key, Handler<AsyncResult<Long>> handler)
RedisClientttl in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient type(String key, Handler<AsyncResult<String>> handler)
RedisClienttype in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient unsubscribe(List<String> channels, Handler<AsyncResult<Void>> handler)
RedisClientunsubscribe in interface RedisClientchannels - List of channels to subscribe tohandler - Handler for the result of this call.public RedisClient wait(long numSlaves, long timeout, Handler<AsyncResult<String>> handler)
RedisClientwait in interface RedisClienthandler - Handler for the result of this call.public RedisClient zadd(String key, double score, String member, Handler<AsyncResult<Long>> handler)
RedisClientzadd in interface RedisClientkey - Key stringscore - Score used for sortingmember - New member keyhandler - Handler for the result of this call.public RedisClient zaddMany(String key, Map<String,Double> members, Handler<AsyncResult<Long>> handler)
RedisClientzaddMany in interface RedisClientkey - Key stringmembers - New member keys and their scoreshandler - Handler for the result of this call.public RedisClient zcard(String key, Handler<AsyncResult<Long>> handler)
RedisClientzcard in interface RedisClientkey - Key stringhandler - Handler for the result of this call.public RedisClient zcount(String key, double min, double max, Handler<AsyncResult<Long>> handler)
RedisClientzcount in interface RedisClientkey - Key stringmin - Minimum scoremax - Maximum scorehandler - Handler for the result of this call.public RedisClient zincrby(String key, double increment, String member, Handler<AsyncResult<String>> handler)
RedisClientzincrby in interface RedisClientkey - Key stringincrement - Increment amountmember - Member keyhandler - Handler for the result of this call.public RedisClient zinterstore(String destkey, List<String> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
RedisClientzinterstore in interface RedisClientdestkey - Destination keysets - List of keys identifying sorted sets to intersectoptions - Aggregation optionshandler - Handler for the result of this call.public RedisClient zinterstoreWeighed(String destkey, Map<String,Double> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
RedisClientzinterstoreWeighed in interface RedisClientdestkey - Destination keysets - List of keys identifying sorted sets to intersectoptions - Aggregation optionshandler - Handler for the result of this call.public RedisClient zlexcount(String key, String min, String max, Handler<AsyncResult<Long>> handler)
RedisClientzlexcount in interface RedisClientkey - Key stringmin - Pattern to compare against for minimum valuemax - Pattern to compare against for maximum valuehandler - Handler for the result of this call.public RedisClient zrange(String key, long start, long stop, Handler<AsyncResult<JsonArray>> handler)
RedisClientzrange in interface RedisClientkey - Key stringstart - Start index for the rangestop - Stop index for the range - inclusivehandler - Handler for the result of this call.public RedisClient zrangeWithOptions(String key, long start, long stop, RangeOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientzrangeWithOptions in interface RedisClientkey - Key stringstart - Start index for the rangestop - Stop index for the range - inclusiveoptions - Range optionshandler - Handler for the result of this call.public RedisClient zrangebylex(String key, String min, String max, LimitOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientzrangebylex in interface RedisClientkey - 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.public RedisClient zrangebyscore(String key, String min, String max, RangeLimitOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientzrangebyscore in interface RedisClientkey - Key stringmin - Pattern defining a minimum valuemax - Pattern defining a maximum valueoptions - Range and limit optionshandler - Handler for the result of this call.public RedisClient zrank(String key, String member, Handler<AsyncResult<Long>> handler)
RedisClientzrank in interface RedisClientkey - Key stringmember - Member in the sorted set identified by keyhandler - Handler for the result of this call.public RedisClient zrem(String key, String member, Handler<AsyncResult<Long>> handler)
RedisClientzrem in interface RedisClientkey - Key stringmember - Member in the sorted set identified by keyhandler - Handler for the result of this call.public RedisClient zremMany(String key, List<String> members, Handler<AsyncResult<Long>> handler)
RedisClientzremMany in interface RedisClientkey - Key stringmembers - Members in the sorted set identified by keyhandler - Handler for the result of this call.public RedisClient zremrangebylex(String key, String min, String max, Handler<AsyncResult<Long>> handler)
RedisClientzremrangebylex in interface RedisClientkey - Key stringmin - Pattern defining a minimum valuemax - Pattern defining a maximum valuehandler - Handler for the result of this call.public RedisClient zremrangebyrank(String key, long start, long stop, Handler<AsyncResult<Long>> handler)
RedisClientzremrangebyrank in interface RedisClientkey - Key stringstart - Start indexstop - Stop indexhandler - Handler for the result of this call.public RedisClient zremrangebyscore(String key, String min, String max, Handler<AsyncResult<Long>> handler)
RedisClientzremrangebyscore in interface RedisClientkey - Key stringmin - Pattern defining a minimum valuemax - Pattern defining a maximum valuepublic RedisClient zrevrange(String key, long start, long stop, RangeOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientzrevrange in interface RedisClientkey - Key stringstart - Start index for the rangestop - Stop index for the range - inclusiveoptions - Range optionshandler - Handler for the result of this call.public RedisClient zrevrangebylex(String key, String max, String min, LimitOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientzrevrangebylex in interface RedisClientkey - Key stringmax - Pattern defining a maximum valuemin - Pattern defining a minimum valueoptions - Limit optionshandler - Handler for the result of this call.public RedisClient zrevrangebyscore(String key, String max, String min, RangeLimitOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientzrevrangebyscore in interface RedisClientkey - Key stringmax - Pattern defining a maximum valuemin - Pattern defining a minimum valueoptions - Range and limit optionshandler - Handler for the result of this call.public RedisClient zrevrank(String key, String member, Handler<AsyncResult<Long>> handler)
RedisClientzrevrank in interface RedisClientkey - Key stringmember - Member in the sorted set identified by keyhandler - Handler for the result of this call.public RedisClient zscore(String key, String member, Handler<AsyncResult<String>> handler)
RedisClientzscore in interface RedisClientkey - Key stringmember - Member in the sorted set identified by keyhandler - Handler for the result of this call.public RedisClient zunionstore(String destkey, List<String> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
RedisClientzunionstore in interface RedisClientdestkey - Destination keysets - List of keys identifying sorted setsoptions - Aggregation optionshandler - Handler for the result of this call.public RedisClient zunionstoreWeighed(String destkey, Map<String,Double> sets, AggregateOptions options, Handler<AsyncResult<Long>> handler)
RedisClientzunionstoreWeighed in interface RedisClientdestkey - Destination keysets - Map containing set-key:weight pairsoptions - Aggregation optionshandler - Handler for the result of this call.public RedisClient scan(String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientscan in interface RedisClientcursor - Cursor idoptions - Scan optionshandler - Handler for the result of this call.public RedisClient sscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientsscan in interface RedisClientkey - Key stringcursor - Cursor idoptions - Scan optionshandler - Handler for the result of this call.public RedisClient hscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClienthscan in interface RedisClientkey - Key stringcursor - Cursor idoptions - Scan optionshandler - Handler for the result of this call.public RedisClient zscan(String key, String cursor, ScanOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientzscan in interface RedisClientkey - Key stringcursor - Cursor idoptions - Scan optionshandler - Handler for the result of this call.public RedisClient geoadd(String key, double longitude, double latitude, String member, Handler<AsyncResult<Long>> handler)
RedisClientgeoadd in interface RedisClientkey - Key stringlongitude - longitudelatitude - latitudemember - memberhandler - Handler for the result of this call.public RedisClient geoaddMany(String key, List<GeoMember> members, Handler<AsyncResult<Long>> handler)
RedisClientgeoaddMany in interface RedisClientkey - Key stringmembers - list of <lon, lat, member>handler - Handler for the result of this call.public RedisClient geohash(String key, String member, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeohash in interface RedisClientkey - Key stringmember - memberhandler - Handler for the result of this call.public RedisClient geohashMany(String key, List<String> members, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeohashMany in interface RedisClientkey - Key stringmembers - list of membershandler - Handler for the result of this call.public RedisClient geopos(String key, String member, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeopos in interface RedisClientkey - Key stringmember - memberhandler - Handler for the result of this call.public RedisClient geoposMany(String key, List<String> members, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeoposMany in interface RedisClientkey - Key stringmembers - list of membershandler - Handler for the result of this call.public RedisClient geodist(String key, String member1, String member2, Handler<AsyncResult<String>> handler)
RedisClientgeodist in interface RedisClientkey - Key stringmember1 - member 1member2 - member 2handler - Handler for the result of this call.public RedisClient geodistWithUnit(String key, String member1, String member2, GeoUnit unit, Handler<AsyncResult<String>> handler)
RedisClientgeodistWithUnit in interface RedisClientkey - Key stringmember1 - member 1member2 - member 2unit - geo unithandler - Handler for the result of this call.public RedisClient georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeoradius in interface RedisClientkey - Key stringlongitude - longitudelatitude - latituderadius - radiusunit - geo unithandler - Handler for the result of this call.public RedisClient georadiusWithOptions(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeoradiusWithOptions in interface RedisClientkey - Key stringlongitude - longitudelatitude - latituderadius - radiusunit - geo unitoptions - geo radius optionshandler - Handler for the result of this call.public RedisClient georadiusbymember(String key, String member, double radius, GeoUnit unit, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeoradiusbymember in interface RedisClientkey - Key stringmember - memberradius - radiusunit - geo unithandler - Handler for the result of this call.public RedisClient georadiusbymemberWithOptions(String key, String member, double radius, GeoUnit unit, GeoRadiusOptions options, Handler<AsyncResult<JsonArray>> handler)
RedisClientgeoradiusbymemberWithOptions in interface RedisClientkey - Key stringmember - memberradius - radiusunit - geo unitoptions - geo radius optionshandler - Handler for the result of this call.public RedisClient clientReply(ClientReplyOptions options, Handler<AsyncResult<String>> handler)
RedisClientclientReply in interface RedisClientpublic RedisClient hstrlen(String key, String field, Handler<AsyncResult<Long>> handler)
RedisClienthstrlen in interface RedisClientkey - Key Stringfield - fieldpublic RedisClient touch(String key, Handler<AsyncResult<Long>> handler)
RedisClienttouch in interface RedisClientkey - Key Stringpublic RedisClient touchMany(List<String> keys, Handler<AsyncResult<Long>> handler)
RedisClienttouchMany in interface RedisClientkeys - list of keyspublic RedisClient scriptDebug(ScriptDebugOptions scriptDebugOptions, Handler<AsyncResult<String>> handler)
RedisClientscriptDebug in interface RedisClientscriptDebugOptions - the optionpublic RedisClient bitfield(String key, BitFieldOptions bitFieldOptions, Handler<AsyncResult<JsonArray>> handler)
RedisClientbitfield in interface RedisClientkey - Key stringpublic RedisClient bitfieldWithOverflow(String key, BitFieldOptions bitFieldOptions, BitFieldOverflowOptions overflow, Handler<AsyncResult<JsonArray>> handler)
RedisClientbitfieldWithOverflow in interface RedisClientkey - Key stringpublic RedisClient unlink(String key, Handler<AsyncResult<Long>> handler)
RedisClientunlink in interface RedisClientkey - Key to deletehandler - Handler for the result of this call.public RedisClient unlinkMany(List<String> keys, Handler<AsyncResult<Long>> handler)
RedisClientunlinkMany in interface RedisClientkeys - List of keys to deletehandler - Handler for the result of this call.public RedisClient swapdb(int index1, int index2, Handler<AsyncResult<String>> handler)
RedisClientswapdb in interface RedisClientindex1 - index of first database to swapindex2 - index of second database to swaphandler - Handler for the result of this call.Copyright © 2020. All rights reserved.