Constructor and description |
---|
RedisClient
(Object delegate) |
Type | Name 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 |
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 |
RedisClient |
bitposRange(String key, int bit, int start, int stop, Handler<AsyncResult<Long>> handler) Find first bit set or clear in a string |
RedisClient |
blpop(String key, int seconds, Handler<AsyncResult<List<Object>>> 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<List<Object>>> 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<List<Object>>> handler) Remove and get the last element in a list, or block until one is available |
RedisClient |
brpopMany(List<String> keys, int seconds, Handler<AsyncResult<List<Object>>> handler) Remove and get the last element in any of the lists, 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 |
clientGetname(Handler<AsyncResult<String>> handler) Get the current connection name |
RedisClient |
clientKill(Map<String, Object> 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 |
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 |
clusterFailOverWithOptions(FailoverOptions options, Handler<AsyncResult<Void>> handler) Forces a slave to perform a manual failover of its master. |
RedisClient |
clusterFailover(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<List<Object>>> handler) Return local key names in the specified hash slot. |
RedisClient |
clusterInfo(Handler<AsyncResult<List<Object>>> 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<List<Object>>> 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<List<Object>>> handler) List slave nodes of the specified master node. |
RedisClient |
clusterSlots(Handler<AsyncResult<List<Object>>> handler) Get array of Cluster slot to node mappings |
RedisClient |
command(Handler<AsyncResult<List<Object>>> handler) Get array of Redis command details |
RedisClient |
commandCount(Handler<AsyncResult<Long>> handler) Get total number of Redis commands |
RedisClient |
commandGetkeys(Handler<AsyncResult<List<Object>>> handler) Extract keys given a full Redis command |
RedisClient |
commandInfo(List<String> commands, Handler<AsyncResult<List<Object>>> handler) Get array of specific Redis command details |
RedisClient |
configGet(String parameter, Handler<AsyncResult<List<Object>>> 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 |
static RedisClient |
create(Vertx vertx) |
static RedisClient |
create(Vertx vertx, Map<String, Object> config) |
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 |
discard(Handler<AsyncResult<String>> handler) Discard all commands issued after MULTI |
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<List<Object>>> handler) Execute a Lua script server side. |
RedisClient |
evalsha(String sha1, List<String> keys, List<String> values, Handler<AsyncResult<List<Object>>> handler) Execute a Lua script server side. |
RedisClient |
exec(Handler<AsyncResult<List<Object>>> handler) Execute all commands issued after MULTI |
RedisClient |
exists(String key, Handler<AsyncResult<Long>> handler) Determine if a key exists |
RedisClient |
expire(String key, int 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 |
get(String key, Handler<AsyncResult<String>> handler) Get the value of a key |
RedisClient |
getBinary(String key, Handler<AsyncResult<String>> handler) Get the value of a key - without decoding as utf-8 |
Object |
getDelegate() |
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<Map<String, Object>>> 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<List<Object>>> 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<List<Object>>> handler) Get the values of all the given hash fields |
RedisClient |
hmset(String key, Map<String, Object> values, Handler<AsyncResult<String>> handler) Set multiple hash fields to multiple values |
RedisClient |
hscan(String key, String cursor, Map<String, Object> options, Handler<AsyncResult<List<Object>>> 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 |
hvals(String key, Handler<AsyncResult<List<Object>>> 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<Map<String, Object>>> handler) Get information and statistics about the server |
RedisClient |
infoSection(String section, Handler<AsyncResult<Map<String, Object>>> handler) Get information and statistics about the server |
RedisClient |
keys(String pattern, Handler<AsyncResult<List<Object>>> 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<List<Object>>> 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<List<Object>>> handler) Get the value of the given key |
RedisClient |
mgetMany(List<String> keys, Handler<AsyncResult<List<Object>>> handler) Get the values of all the given keys |
RedisClient |
migrate(String host, int port, String key, int destdb, long timeout, Map<String, Object> 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(Map<String, Object> keyvals, Handler<AsyncResult<String>> handler) Set multiple keys to multiple values |
RedisClient |
msetnx(Map<String, Object> keyvals, Handler<AsyncResult<Long>> handler) Set multiple keys to multiple values, only if none of the keys exist |
RedisClient |
multi(Handler<AsyncResult<String>> handler) Mark the start of a transaction block |
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> keys, 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<List<Object>>> handler) Listen for messages published to channels matching the given pattern |
RedisClient |
psubscribeMany(List<String> patterns, Handler<AsyncResult<List<Object>>> 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<List<Object>>> 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<List<Object>>> 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<List<Object>>> 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, Map<String, Object> options, Handler<AsyncResult<List<Object>>> handler) Incrementally iterate the keys space |
RedisClient |
scard(String key, Handler<AsyncResult<Long>> handler) Get the number of members in a set |
RedisClient |
scriptExists(String script, Handler<AsyncResult<List<Object>>> handler) Check existence of script in the script cache. |
RedisClient |
scriptExistsMany(List<String> scripts, Handler<AsyncResult<List<Object>>> 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<List<Object>>> 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, String value, Handler<AsyncResult<Void>> handler) Set the binary string value of a key - without encoding as utf-8 |
RedisClient |
setWithOptions(String key, String value, Map<String, Object> 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 |
sinter(List<String> keys, Handler<AsyncResult<List<Object>>> 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<List<Object>>> 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<List<Object>>> 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, Map<String, Object> options, Handler<AsyncResult<List<Object>>> 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<String>> 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<List<Object>>> 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, Map<String, Object> options, Handler<AsyncResult<List<Object>>> 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<List<Object>>> handler) Listen for messages published to the given channels |
RedisClient |
subscribeMany(List<String> channels, Handler<AsyncResult<List<Object>>> handler) Listen for messages published to the given channels |
RedisClient |
sunion(List<String> keys, Handler<AsyncResult<List<Object>>> 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 |
sync(Handler<AsyncResult<Void>> handler) Internal command used for replication |
RedisClient |
time(Handler<AsyncResult<List<Object>>> handler) Return the current server time |
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 |
unsubscribe(List<String> channels, Handler<AsyncResult<Void>> handler) Stop listening for messages posted to the given channels |
RedisClient |
unwatch(Handler<AsyncResult<String>> handler) Forget about all watched keys |
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 |
watch(String key, Handler<AsyncResult<String>> handler) Watch the given keys to determine execution of the MULTI/EXEC block |
RedisClient |
watchMany(List<String> keys, Handler<AsyncResult<String>> handler) Watch the given keys to determine execution of the MULTI/EXEC block |
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<List<Object>>> handler) Return a range of members in a sorted set, by index |
RedisClient |
zrangeWithOptions(String key, long start, long stop, RangeOptions options, Handler<AsyncResult<List<Object>>> handler) Return a range of members in a sorted set, by index |
RedisClient |
zrangebylex(String key, String min, String max, Map<String, Object> options, Handler<AsyncResult<List<Object>>> handler) Return a range of members in a sorted set, by lexicographical range |
RedisClient |
zrangebyscore(String key, String min, String max, Map<String, Object> options, Handler<AsyncResult<List<Object>>> handler) Return a range of members in a sorted set, by score |
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<List<Object>>> 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, Map<String, Object> options, Handler<AsyncResult<List<Object>>> 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, Map<String, Object> options, Handler<AsyncResult<List<Object>>> 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, Map<String, Object> options, Handler<AsyncResult<List<Object>>> 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 key, 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 |
Append a value to a key
key
- Key stringvalue
- Value to appendhandler
- Handler for the result of this call.Authenticate to the server
password
- Password for authenticationhandler
- Handler for the result of this call.Asynchronously rewrite the append-only file
Asynchronously save the dataset to disk
Count set bits in a string
key
- Key stringhandler
- Handler for the result of this call.Count set bits in a string
key
- Key stringstart
- Start indexend
- End indexhandler
- Handler for the result of this call.Perform bitwise operations between strings
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.Find first bit set or clear in a string
key
- Key stringbit
- What bit value to look for - must be 1, or 0handler
- Handler for the result of this call.Find first bit set or clear in a string See also bitposRange() method, which takes start, and stop offset.
key
- Key stringbit
- What bit value to look for - must be 1, or 0start
- Start offsethandler
- Handler for the result of this call.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
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.Remove and get the first element in a list, or block until one is available
key
- Key string identifying a list to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.Remove and get the first element in any of the lists, or block until one is available
keys
- List of key strings identifying lists to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.Remove and get the last element in a list, or block until one is available
key
- Key string identifying a list to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.Remove and get the last element in any of the lists, or block until one is available
keys
- List of key strings identifying lists to watchseconds
- Timeout in secondshandler
- Handler for the result of this call.Pop a value from a list, push it to another list and return it; or block until one is available
key
- Key string identifying the source listdestkey
- Key string identifying the destination listseconds
- Timeout in secondshandler
- Handler for the result of this call.Get the current connection name
Kill the connection of a client
filter
- Filter options (see KillFilter)handler
- Handler for the result of this call.Get the list of client connections
Stop processing commands from clients for some time
millis
- Pause time in millisecondshandler
- Handler for the result of this call.Set the current connection name
name
- New name for current connectionhandler
- Handler for the result of this call.Close the client - when it is fully closed the handler will be called.
Assign new hash slots to receiving node.
handler
- Handler for the result of this call.Return the number of failure reports active for a given node.
handler
- Handler for the result of this call.Return the number of local keys in the specified hash slot.
handler
- Handler for the result of this call.Set hash slots as unbound in receiving node.
handler
- Handler for the result of this call.Set hash slots as unbound in receiving node.
handler
- Handler for the result of this call.Forces a slave to perform a manual failover of its master.
handler
- Handler for the result of this call.Forces a slave to perform a manual failover of its master.
handler
- Handler for the result of this call.Remove a node from the nodes table.
handler
- Handler for the result of this call.Return local key names in the specified hash slot.
handler
- Handler for the result of this call.Provides info about Redis Cluster node state.
handler
- Handler for the result of this call.Returns the hash slot of the specified key.
handler
- Handler for the result of this call.Force a node cluster to handshake with another node.
handler
- Handler for the result of this call.Get Cluster config for the node.
handler
- Handler for the result of this call.Reconfigure a node as a slave of the specified master node.
handler
- Handler for the result of this call.Reset a Redis Cluster node.
handler
- Handler for the result of this call.Reset a Redis Cluster node.
handler
- Handler for the result of this call.Forces the node to save cluster state on disk.
handler
- Handler for the result of this call.Set the configuration epoch in a new node.
handler
- Handler for the result of this call.Bind an hash slot to a specific node.
handler
- Handler for the result of this call.Bind an hash slot to a specific node.
handler
- Handler for the result of this call.List slave nodes of the specified master node.
handler
- Handler for the result of this call.Get array of Cluster slot to node mappings
Get array of Redis command details
Get total number of Redis commands
Extract keys given a full Redis command
Get array of specific Redis command details
commands
- List of commands to get info forhandler
- Handler for the result of this call.Get the value of a configuration parameter
parameter
- Configuration parameterhandler
- Handler for the result of this call.Reset the stats returned by INFO
Rewrite the configuration file with the in memory configuration
Set a configuration parameter to the given value
parameter
- Configuration parametervalue
- New valuehandler
- Handler for the result of this call.Return the number of keys in the selected database
Get debugging information about a key
key
- Key stringhandler
- Handler for the result of this call.Make the server crash
Decrement the integer value of a key by one
key
- Key stringhandler
- Handler for the result of this call.Decrement the integer value of a key by the given number
key
- Key stringdecrement
- Value by which to decrementhandler
- Handler for the result of this call.Delete a key
key
- Keys to deletehandler
- Handler for the result of this call.Delete many keys
keys
- List of keys to deletehandler
- Handler for the result of this call.Discard all commands issued after MULTI
Return a serialized version of the value stored at the specified key.
key
- Key stringhandler
- Handler for the result of this call.Echo the given string
message
- String to echohandler
- Handler for the result of this call.Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.
script
- Lua script to evaluatekeys
- List of keysargs
- List of argument valueshandler
- Handler for the result of this call.Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray. When a reply if for example a String the handler will be called with a JsonArray with a single element containing the String.
sha1
- SHA1 digest of the script cached on the serverkeys
- List of keysvalues
- List of valueshandler
- Handler for the result of this call.Execute all commands issued after MULTI
Determine if a key exists
key
- Key stringhandler
- Handler for the result of this call.Set a key's time to live in seconds
key
- Key stringseconds
- Time to live in secondshandler
- Handler for the result of this call.Set the expiration for a key as a UNIX timestamp
key
- Key stringseconds
- Expiry time as Unix timestamp in secondshandler
- Handler for the result of this call.Remove all keys from all databases
Remove all keys from the current database
Get the value of a key
key
- Key stringhandler
- Handler for the result of this call.Get the value of a key - without decoding as utf-8
key
- Key stringhandler
- Handler for the result of this call.Returns the bit value at offset in the string value stored at key
key
- Key stringoffset
- Offset in bitshandler
- Handler for the result of this call.Get a substring of the string stored at a key
key
- Key stringstart
- Start offsetend
- End offset - inclusivehandler
- Handler for the result of this call.Set the string value of a key and return its old value
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.Delete one or more hash fields
key
- Key stringfield
- Field namehandler
- Handler for the result of this call.Delete one or more hash fields
key
- Key stringfields
- Field nameshandler
- Handler for the result of this call.Determine if a hash field exists
key
- Key stringfield
- Field namehandler
- Handler for the result of this call.Get the value of a hash field
key
- Key stringfield
- Field namehandler
- Handler for the result of this call.Get all the fields and values in a hash
key
- Key stringhandler
- Handler for the result of this call.Increment the integer value of a hash field by the given number
key
- Key stringfield
- Field nameincrement
- Value by which to incrementhandler
- Handler for the result of this call.Increment the float value of a hash field by the given amount
key
- Key stringfield
- Field nameincrement
- Value by which to incrementhandler
- Handler for the result of this call.Get all the fields in a hash
key
- Key stringhandler
- Handler for the result of this call.Get the number of fields in a hash
key
- Key stringhandler
- Handler for the result of this call.Get the values of all the given hash fields
key
- Key stringfields
- Field nameshandler
- Handler for the result of this call.Set multiple hash fields to multiple values
key
- Key stringvalues
- Map of field:value pairshandler
- Handler for the result of this call.Incrementally iterate hash fields and associated values
key
- Key stringcursor
- Cursor idoptions
- Scan options (see ScanOptions)handler
- Handler for the result of this call.Set the string value of a hash field
key
- Key stringfield
- Field namevalue
- New valuehandler
- Handler for the result of this call.Set the value of a hash field, only if the field does not exist
key
- Key stringfield
- Field namevalue
- New valuehandler
- Handler for the result of this call.Get all the values in a hash
key
- Key stringhandler
- Handler for the result of this call.Increment the integer value of a key by one
key
- Key stringhandler
- Handler for the result of this call.Increment the integer value of a key by the given amount
key
- Key stringincrement
- Value by which to incrementhandler
- Handler for the result of this call.Increment the float value of a key by the given amount
key
- Key stringincrement
- Value by which to incrementhandler
- Handler for the result of this call.Get information and statistics about the server
handler
- Handler for the result of this call.Get information and statistics about the server
section
- Specific section of information to returnhandler
- Handler for the result of this call.Find all keys matching the given pattern
pattern
- Pattern to limit the keys returnedhandler
- Handler for the result of this call.Get the UNIX time stamp of the last successful save to disk
Get an element from a list by its index
key
- Key stringindex
- Index of list element to gethandler
- Handler for the result of this call.Insert an element before or after another element in a list
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.Get the length of a list
key
- String keyhandler
- Handler for the result of this call.Remove and get the first element in a list
key
- String keyhandler
- Handler for the result of this call.Prepend one value to a list
key
- Key stringvalue
- Value to be added at the beginning of the listhandler
- Handler for the result of this call.Prepend one or multiple values to a list
key
- Key stringvalues
- Values to be added at the beginning of the list, one by onehandler
- Handler for the result of this call.Prepend a value to a list, only if the list exists
key
- Key stringvalue
- Value to add at the beginning of the listhandler
- Handler for the result of this call.Get a range of elements from a list
key
- Key stringfrom
- Start indexto
- Stop indexhandler
- Handler for the result of this call.Remove elements from a list
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.Set the value of an element in a list by its index
key
- Key stringindex
- Position within listvalue
- New valuehandler
- Handler for the result of this call.Trim a list to the specified range
key
- Key stringfrom
- Start indexto
- Stop indexhandler
- Handler for the result of this call.Get the value of the given key
key
- Key stringhandler
- Handler for the result of this call.Get the values of all the given keys
keys
- List of keys to gethandler
- Handler for the result of this call.Atomically transfer a key from a Redis instance to another one.
host
- Destination hostport
- Destination portkey
- Key to migratedestdb
- Destination database indexoptions
- Migrate options (see MigrateOptions)handler
- Handler for the result of this call.Listen for all requests received by the server in real time
Move a key to another database
key
- Key to migratedestdb
- Destination database indexhandler
- Handler for the result of this call.Set multiple keys to multiple values
keyvals
- Key value pairs to sethandler
- Handler for the result of this call.Set multiple keys to multiple values, only if none of the keys exist
keyvals
- Key value pairs to sethandler
- Handler for the result of this call.Mark the start of a transaction block
Inspect the internals of Redis objects
key
- Key stringcmd
- Object sub commandhandler
- Handler for the result of this call.Remove the expiration from a key
key
- Key stringhandler
- Handler for the result of this call.Set a key's time to live in milliseconds
key
- String keymillis
- Time to live in millisecondshandler
- Handler for the result of this call.Set the expiration for a key as a UNIX timestamp specified in milliseconds
key
- Key stringmillis
- Expiry time as Unix timestamp in millisecondshandler
- Handler for the result of this call.Adds the specified element to the specified HyperLogLog.
key
- Key stringelement
- Element to addhandler
- Handler for the result of this call.Adds the specified elements to the specified HyperLogLog.
key
- Key stringelements
- Elementa to addhandler
- Handler for the result of this call.Return the approximated cardinality of the set observed by the HyperLogLog at key.
key
- Key stringhandler
- Handler for the result of this call.Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
keys
- List of keyshandler
- Handler for the result of this call.Merge N different HyperLogLogs into a single one.
destkey
- Destination keykeys
- List of source keyshandler
- Handler for the result of this call.Ping the server
Set the value and expiration in milliseconds of a key
key
- Key stringmillis
- Number of milliseconds until the key expiresvalue
- New value for keyhandler
- Handler for the result of this call.Listen for messages published to channels matching the given pattern
pattern
- Pattern stringhandler
- Handler for the result of this call.Listen for messages published to channels matching the given patterns
patterns
- List of patternshandler
- Handler for the result of this call.Get the time to live for a key in milliseconds
key
- Key stringhandler
- Handler for the result of this call.Post a message to a channel
channel
- Channel keymessage
- Message to send to channelhandler
- Handler for the result of this call.Lists the currently active channels - only those matching the pattern
pattern
- A glob-style pattern - an empty string means no patternhandler
- Handler for the result of this call.Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)
handler
- Handler for the result of this call.Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels
channels
- List of channelshandler
- Handler for the result of this call.Stop listening for messages posted to channels matching the given patterns
patterns
- List of patterns to match againsthandler
- Handler for the result of this call.Return a random key from the keyspace
Rename a key
key
- Key string to be renamednewkey
- New key stringhandler
- Handler for the result of this call.Rename a key, only if the new key does not exist
key
- Key string to be renamednewkey
- New key stringhandler
- Handler for the result of this call.Create a key using the provided serialized value, previously obtained using DUMP.
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.Return the role of the instance in the context of replication
Remove and get the last element in a list
key
- Key stringhandler
- Handler for the result of this call.Remove the last element in a list, append it to another list and return it
key
- Key string identifying source listdestkey
- Key string identifying destination listhandler
- Handler for the result of this call.Append one or multiple values to a list
key
- Key stringvalue
- Value to be added to the end of the listhandler
- Handler for the result of this call.Append one or multiple values to a list
key
- Key stringvalues
- List of values to add to the end of the listhandler
- Handler for the result of this call.Append a value to a list, only if the list exists
key
- Key stringvalue
- Value to be added to the end of the listhandler
- Handler for the result of this call.Add a member to a set
key
- Key stringmember
- Value to be added to the sethandler
- Handler for the result of this call.Add one or more members to a set
key
- Key stringmembers
- Values to be added to the sethandler
- Handler for the result of this call.Synchronously save the dataset to disk
Incrementally iterate the keys space
cursor
- Cursor idoptions
- Scan options (see ScanOptions)handler
- Handler for the result of this call.Get the number of members in a set
key
- Key stringhandler
- Handler for the result of this call.Check existence of script in the script cache.
script
- SHA1 digest identifying a script in the script cachehandler
- Handler for the result of this call.Check existence of scripts in the script cache.
scripts
- List of SHA1 digests identifying scripts in the script cachehandler
- Handler for the result of this call.Remove all the scripts from the script cache.
Kill the script currently in execution.
Load the specified Lua script into the script cache.
script
- Lua scripthandler
- Handler for the result of this call.Subtract multiple sets
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.Subtract multiple sets and store the resulting set in a key
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.Change the selected database for the current connection
dbindex
- Index identifying the new active databasehandler
- Handler for the result of this call.Set the string value of a key
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.Set the binary string value of a key - without encoding as utf-8
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.Set the string value of a key
key
- Key of which value to setvalue
- New value for the keyoptions
- Set options (see SetOptions)handler
- Handler for the result of this call.Sets or clears the bit at offset in the string value stored at key
key
- Key stringoffset
- Bit offsetbit
- New value - must be 1 or 0handler
- Handler for the result of this call.Set the value and expiration of a key
key
- Key stringseconds
- Number of seconds until the key expiresvalue
- New value for keyhandler
- Handler for the result of this call.Set the value of a key, only if the key does not exist
key
- Key of which value to setvalue
- New value for the keyhandler
- Handler for the result of this call.Overwrite part of a string at key starting at the specified offset
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.Intersect multiple sets
keys
- List of keys to perform intersection onhandler
- Handler for the result of this call.Intersect multiple sets and store the resulting set in a key
destkey
- Key where to store the resultskeys
- List of keys to perform intersection onhandler
- Handler for the result of this call.Determine if a given value is a member of a set
key
- Key stringmember
- Member to look forhandler
- Handler for the result of this call.Make the server a slave of another instance
host
- Host to become this server's masterport
- Port of our new masterhandler
- Handler for the result of this call.Make this server a master
handler
- Handler for the result of this call.Read the Redis slow queries log
limit
- Number of log entries to return. If value is less than zero all entries are returnedhandler
- Handler for the result of this call.Get the length of the Redis slow queries log
handler
- Handler for the result of this call.Reset the Redis slow queries log
handler
- Handler for the result of this call.Get all the members in a set
key
- Key stringhandler
- Handler for the result of this call.Move a member from one set to another
key
- Key of source set currently containing the memberdestkey
- Key identifying the destination setmember
- Member to movehandler
- Handler for the result of this call.Sort the elements in a list, set or sorted set
key
- Key stringoptions
- Sort options (see SortOptions)handler
- Handler for the result of this call.Remove and return a random member from a set
key
- Key stringhandler
- Handler for the result of this call.Remove and return random members from a set
key
- Key stringcount
- Number of members to removehandler
- Handler for the result of this call.Get one or multiple random members from a set
key
- Key stringhandler
- Handler for the result of this call.Get one or multiple random members from a set
key
- Key stringcount
- Number of members to gethandler
- Handler for the result of this call.Remove one member from a set
key
- Key stringmember
- Member to removehandler
- Handler for the result of this call.Remove one or more members from a set
key
- Key stringmembers
- Members to removehandler
- Handler for the result of this call.Incrementally iterate Set elements
key
- Key stringcursor
- Cursor idoptions
- Scan options (see ScanOptions)handler
- Handler for the result of this call.Get the length of the value stored in a key
key
- Key stringhandler
- Handler for the result of this call.Listen for messages published to the given channels
channel
- Channel to subscribe tohandler
- Handler for the result of this call.Listen for messages published to the given channels
channels
- List of channels to subscribe tohandler
- Handler for the result of this call.Add multiple sets
keys
- List of keys identifying sets to add uphandler
- Handler for the result of this call.Add multiple sets and store the resulting set in a key
destkey
- Destination keykeys
- List of keys identifying sets to add uphandler
- Handler for the result of this call.Internal command used for replication
Return the current server time
Get the time to live for a key
key
- Key stringhandler
- Handler for the result of this call.Determine the type stored at key
key
- Key stringhandler
- Handler for the result of this call.Stop listening for messages posted to the given channels
channels
- List of channels to subscribe tohandler
- Handler for the result of this call.Forget about all watched keys
Wait for the synchronous replication of all the write commands sent in the context of the current connection.
handler
- Handler for the result of this call.Watch the given keys to determine execution of the MULTI/EXEC block
key
- Key to watchhandler
- Handler for the result of this call.Watch the given keys to determine execution of the MULTI/EXEC block
keys
- List of keys to watchhandler
- Handler for the result of this call.Add one or more members to a sorted set, or update its score if it already exists
key
- Key stringscore
- Score used for sortingmember
- New member keyhandler
- Handler for the result of this call.Add one or more members to a sorted set, or update its score if it already exists
key
- Key stringmembers
- New member keys and their scoreshandler
- Handler for the result of this call.Get the number of members in a sorted set
key
- Key stringhandler
- Handler for the result of this call.Count the members in a sorted set with scores within the given values
key
- Key stringmin
- Minimum scoremax
- Maximum scorehandler
- Handler for the result of this call.Increment the score of a member in a sorted set
key
- Key stringincrement
- Increment amountmember
- Member keyhandler
- Handler for the result of this call.Intersect multiple sorted sets and store the resulting sorted set in a new key
destkey
- Destination keysets
- List of keys identifying sorted sets to intersectoptions
- Aggregation optionshandler
- Handler for the result of this call.Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring
destkey
- Destination keysets
- List of keys identifying sorted sets to intersectoptions
- Aggregation optionshandler
- Handler for the result of this call.Count the number of members in a sorted set between a given lexicographical range
key
- Key stringmin
- Pattern to compare against for minimum valuemax
- Pattern to compare against for maximum valuehandler
- Handler for the result of this call.Return a range of members in a sorted set, by index
key
- Key stringstart
- Start index for the rangestop
- Stop index for the range - inclusivehandler
- Handler for the result of this call.Return a range of members in a sorted set, by index
key
- Key stringstart
- Start index for the rangestop
- Stop index for the range - inclusiveoptions
- Range optionshandler
- Handler for the result of this call.Return a range of members in a sorted set, by lexicographical range
key
- Key stringmin
- Pattern representing a minimum allowed valuemax
- Pattern representing a maximum allowed valueoptions
- Limit options where limit can be specified (see LimitOptions)handler
- Handler for the result of this call.Return a range of members in a sorted set, by score
key
- Key stringmin
- Pattern defining a minimum valuemax
- Pattern defining a maximum valueoptions
- Range and limit options (see RangeLimitOptions)handler
- Handler for the result of this call.Determine the index of a member in a sorted set
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.Remove one member from a sorted set
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.Remove one or more members from a sorted set
key
- Key stringmembers
- Members in the sorted set identified by keyhandler
- Handler for the result of this call.Remove all members in a sorted set between the given lexicographical range
key
- Key stringmin
- Pattern defining a minimum valuemax
- Pattern defining a maximum valuehandler
- Handler for the result of this call.Remove all members in a sorted set within the given indexes
key
- Key stringstart
- Start indexstop
- Stop indexhandler
- Handler for the result of this call.Remove all members in a sorted set within the given scores
key
- Key stringmin
- Pattern defining a minimum valuemax
- Pattern defining a maximum valueReturn a range of members in a sorted set, by index, with scores ordered from high to low
key
- Key stringstart
- Start index for the rangestop
- Stop index for the range - inclusiveoptions
- Range optionshandler
- Handler for the result of this call.Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low
key
- Key stringmax
- Pattern defining a maximum valuemin
- Pattern defining a minimum valueoptions
- Limit options (see LimitOptions)handler
- Handler for the result of this call.Return a range of members in a sorted set, by score, with scores ordered from high to low
key
- Key stringmax
- Pattern defining a maximum valuemin
- Pattern defining a minimum valueoptions
- Range and limit options (see RangeLimitOptions)handler
- Handler for the result of this call.Determine the index of a member in a sorted set, with scores ordered from high to low
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.Incrementally iterate sorted sets elements and associated scores
key
- Key stringcursor
- Cursor idoptions
- Scan options (see ScanOptions)handler
- Handler for the result of this call.Get the score associated with the given member in a sorted set
key
- Key stringmember
- Member in the sorted set identified by keyhandler
- Handler for the result of this call.Add multiple sorted sets and store the resulting sorted set in a new key
destkey
- Destination keysets
- List of keys identifying sorted setsoptions
- Aggregation optionshandler
- Handler for the result of this call.Add multiple sorted sets using weights, and store the resulting sorted set in a new key
key
- Destination keysets
- Map containing set-key:weight pairsoptions
- Aggregation optionshandler
- Handler for the result of this call.io.vertx:vertx-redis-client:3.1.0