Package | Description |
---|---|
io.vertx.rxjava.redis |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RedisTransaction> |
RedisTransaction.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
RedisTransaction |
RedisTransaction.append(String key,
String value,
Handler<AsyncResult<String>> handler)
Append a value to a key
|
RedisTransaction |
RedisTransaction.auth(String password,
Handler<AsyncResult<String>> handler)
Authenticate to the server
|
RedisTransaction |
RedisTransaction.bgrewriteaof(Handler<AsyncResult<String>> handler)
Asynchronously rewrite the append-only file
|
RedisTransaction |
RedisTransaction.bgsave(Handler<AsyncResult<String>> handler)
Asynchronously save the dataset to disk
|
RedisTransaction |
RedisTransaction.bitcount(String key,
Handler<AsyncResult<String>> handler)
Count set bits in a string
|
RedisTransaction |
RedisTransaction.bitcountRange(String key,
long start,
long end,
Handler<AsyncResult<String>> handler)
Count set bits in a string
|
RedisTransaction |
RedisTransaction.bitop(BitOperation operation,
String destkey,
List<String> keys,
Handler<AsyncResult<String>> handler)
Perform bitwise operations between strings
|
RedisTransaction |
RedisTransaction.bitpos(String key,
int bit,
Handler<AsyncResult<String>> handler)
Find first bit set or clear in a string
|
RedisTransaction |
RedisTransaction.bitposFrom(String key,
int bit,
int start,
Handler<AsyncResult<String>> handler)
Find first bit set or clear in a string
|
RedisTransaction |
RedisTransaction.bitposRange(String key,
int bit,
int start,
int stop,
Handler<AsyncResult<String>> handler)
Find first bit set or clear in a string
|
RedisTransaction |
RedisTransaction.blpop(String key,
int seconds,
Handler<AsyncResult<String>> handler)
Remove and get the first element in a list, or block until one is available
|
RedisTransaction |
RedisTransaction.blpopMany(List<String> keys,
int seconds,
Handler<AsyncResult<String>> handler)
Remove and get the first element in any of the lists, or block until one is available
|
RedisTransaction |
RedisTransaction.brpop(String key,
int seconds,
Handler<AsyncResult<String>> handler)
Remove and get the last element in a list, or block until one is available
|
RedisTransaction |
RedisTransaction.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
|
RedisTransaction |
RedisTransaction.brpopMany(List<String> keys,
int seconds,
Handler<AsyncResult<String>> handler)
Remove and get the last element in any of the lists, or block until one is available
|
RedisTransaction |
RedisTransaction.clientGetname(Handler<AsyncResult<String>> handler)
Get the current connection name
|
RedisTransaction |
RedisTransaction.clientKill(KillFilter filter,
Handler<AsyncResult<String>> handler)
Kill the connection of a client
|
RedisTransaction |
RedisTransaction.clientList(Handler<AsyncResult<String>> handler)
Get the list of client connections
|
RedisTransaction |
RedisTransaction.clientPause(long millis,
Handler<AsyncResult<String>> handler)
Stop processing commands from clients for some time
|
RedisTransaction |
RedisTransaction.clientSetname(String name,
Handler<AsyncResult<String>> handler)
Set the current connection name
|
RedisTransaction |
RedisTransaction.clusterAddslots(List<String> slots,
Handler<AsyncResult<String>> handler)
Assign new hash slots to receiving node.
|
RedisTransaction |
RedisTransaction.clusterCountFailureReports(String nodeId,
Handler<AsyncResult<String>> handler)
Return the number of failure reports active for a given node.
|
RedisTransaction |
RedisTransaction.clusterCountkeysinslot(long slot,
Handler<AsyncResult<String>> handler)
Return the number of local keys in the specified hash slot.
|
RedisTransaction |
RedisTransaction.clusterDelslots(long slot,
Handler<AsyncResult<String>> handler)
Set hash slots as unbound in receiving node.
|
RedisTransaction |
RedisTransaction.clusterDelslotsMany(List<String> slots,
Handler<AsyncResult<String>> handler)
Set hash slots as unbound in receiving node.
|
RedisTransaction |
RedisTransaction.clusterFailover(Handler<AsyncResult<String>> handler)
Forces a slave to perform a manual failover of its master.
|
RedisTransaction |
RedisTransaction.clusterFailOverWithOptions(FailoverOptions options,
Handler<AsyncResult<String>> handler)
Forces a slave to perform a manual failover of its master.
|
RedisTransaction |
RedisTransaction.clusterForget(String nodeId,
Handler<AsyncResult<String>> handler)
Remove a node from the nodes table.
|
RedisTransaction |
RedisTransaction.clusterGetkeysinslot(long slot,
long count,
Handler<AsyncResult<String>> handler)
Return local key names in the specified hash slot.
|
RedisTransaction |
RedisTransaction.clusterInfo(Handler<AsyncResult<String>> handler)
Provides info about Redis Cluster node state.
|
RedisTransaction |
RedisTransaction.clusterKeyslot(String key,
Handler<AsyncResult<String>> handler)
Returns the hash slot of the specified key.
|
RedisTransaction |
RedisTransaction.clusterMeet(String ip,
long port,
Handler<AsyncResult<String>> handler)
Force a node cluster to handshake with another node.
|
RedisTransaction |
RedisTransaction.clusterNodes(Handler<AsyncResult<String>> handler)
Get Cluster config for the node.
|
RedisTransaction |
RedisTransaction.clusterReplicate(String nodeId,
Handler<AsyncResult<String>> handler)
Reconfigure a node as a slave of the specified master node.
|
RedisTransaction |
RedisTransaction.clusterReset(Handler<AsyncResult<String>> handler)
Reset a Redis Cluster node.
|
RedisTransaction |
RedisTransaction.clusterResetWithOptions(ResetOptions options,
Handler<AsyncResult<String>> handler)
Reset a Redis Cluster node.
|
RedisTransaction |
RedisTransaction.clusterSaveconfig(Handler<AsyncResult<String>> handler)
Forces the node to save cluster state on disk.
|
RedisTransaction |
RedisTransaction.clusterSetConfigEpoch(long epoch,
Handler<AsyncResult<String>> handler)
Set the configuration epoch in a new node.
|
RedisTransaction |
RedisTransaction.clusterSetslot(long slot,
SlotCmd subcommand,
Handler<AsyncResult<String>> handler)
Bind an hash slot to a specific node.
|
RedisTransaction |
RedisTransaction.clusterSetslotWithNode(long slot,
SlotCmd subcommand,
String nodeId,
Handler<AsyncResult<String>> handler)
Bind an hash slot to a specific node.
|
RedisTransaction |
RedisTransaction.clusterSlaves(String nodeId,
Handler<AsyncResult<String>> handler)
List slave nodes of the specified master node.
|
RedisTransaction |
RedisTransaction.clusterSlots(Handler<AsyncResult<String>> handler)
Get array of Cluster slot to node mappings
|
RedisTransaction |
RedisTransaction.command(Handler<AsyncResult<String>> handler)
Get array of Redis command details
|
RedisTransaction |
RedisTransaction.commandCount(Handler<AsyncResult<String>> handler)
Get total number of Redis commands
|
RedisTransaction |
RedisTransaction.commandGetkeys(Handler<AsyncResult<String>> handler)
Extract keys given a full Redis command
|
RedisTransaction |
RedisTransaction.commandInfo(List<String> commands,
Handler<AsyncResult<String>> handler)
Get array of specific Redis command details
|
RedisTransaction |
RedisTransaction.configGet(String parameter,
Handler<AsyncResult<String>> handler)
Get the value of a configuration parameter
|
RedisTransaction |
RedisTransaction.configResetstat(Handler<AsyncResult<String>> handler)
Reset the stats returned by INFO
|
RedisTransaction |
RedisTransaction.configRewrite(Handler<AsyncResult<String>> handler)
Rewrite the configuration file with the in memory configuration
|
RedisTransaction |
RedisTransaction.configSet(String parameter,
String value,
Handler<AsyncResult<String>> handler)
Set a configuration parameter to the given value
|
RedisTransaction |
RedisTransaction.dbsize(Handler<AsyncResult<String>> handler)
Return the number of keys in the selected database
|
RedisTransaction |
RedisTransaction.debugObject(String key,
Handler<AsyncResult<String>> handler)
Get debugging information about a key
|
RedisTransaction |
RedisTransaction.debugSegfault(Handler<AsyncResult<String>> handler)
Make the server crash
|
RedisTransaction |
RedisTransaction.decr(String key,
Handler<AsyncResult<String>> handler)
Decrement the integer value of a key by one
|
RedisTransaction |
RedisTransaction.decrby(String key,
long decrement,
Handler<AsyncResult<String>> handler)
Decrement the integer value of a key by the given number
|
RedisTransaction |
RedisTransaction.del(String key,
Handler<AsyncResult<String>> handler)
Delete a key
|
RedisTransaction |
RedisTransaction.delMany(List<String> keys,
Handler<AsyncResult<String>> handler)
Delete many keys
|
RedisTransaction |
RedisTransaction.discard(Handler<AsyncResult<String>> handler)
Discard all commands issued after MULTI
|
RedisTransaction |
RedisTransaction.dump(String key,
Handler<AsyncResult<String>> handler)
Return a serialized version of the value stored at the specified key.
|
RedisTransaction |
RedisTransaction.echo(String message,
Handler<AsyncResult<String>> handler)
Echo the given string
|
RedisTransaction |
RedisTransaction.eval(String script,
List<String> keys,
List<String> args,
Handler<AsyncResult<String>> handler)
Execute a Lua script server side.
|
RedisTransaction |
RedisTransaction.evalsha(String sha1,
List<String> keys,
List<String> values,
Handler<AsyncResult<String>> handler)
Execute a Lua script server side.
|
RedisTransaction |
RedisTransaction.exec(Handler<AsyncResult<JsonArray>> handler)
Execute all commands issued after MULTI
|
RedisTransaction |
RedisTransaction.exists(String key,
Handler<AsyncResult<String>> handler)
Determine if a key exists
|
RedisTransaction |
RedisTransaction.existsMany(List<String> keys,
Handler<AsyncResult<String>> handler)
Determine if one or many keys exist
|
RedisTransaction |
RedisTransaction.expire(String key,
int seconds,
Handler<AsyncResult<String>> handler)
Set a key's time to live in seconds
|
RedisTransaction |
RedisTransaction.expireat(String key,
long seconds,
Handler<AsyncResult<String>> handler)
Set the expiration for a key as a UNIX timestamp
|
RedisTransaction |
RedisTransaction.flushall(Handler<AsyncResult<String>> handler)
Remove all keys from all databases
|
RedisTransaction |
RedisTransaction.flushdb(Handler<AsyncResult<String>> handler)
Remove all keys from the current database
|
RedisTransaction |
RedisTransaction.geoadd(String key,
double longitude,
double latitude,
String member,
Handler<AsyncResult<String>> handler)
Add one or more geospatial items in the geospatial index represented using a sorted set.
|
RedisTransaction |
RedisTransaction.geoaddMany(String key,
List<GeoMember> members,
Handler<AsyncResult<String>> handler)
Add one or more geospatial items in the geospatial index represented using a sorted set.
|
RedisTransaction |
RedisTransaction.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.
|
RedisTransaction |
RedisTransaction.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.
|
RedisTransaction |
RedisTransaction.geohash(String key,
String member,
Handler<AsyncResult<String>> 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).
|
RedisTransaction |
RedisTransaction.geohashMany(String key,
List<String> members,
Handler<AsyncResult<String>> 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).
|
RedisTransaction |
RedisTransaction.geopos(String key,
String member,
Handler<AsyncResult<String>> handler)
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the
sorted set at key.
|
RedisTransaction |
RedisTransaction.geoposMany(String key,
List<String> members,
Handler<AsyncResult<String>> handler)
Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the
sorted set at key.
|
RedisTransaction |
RedisTransaction.georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
Handler<AsyncResult<String>> 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).
|
RedisTransaction |
RedisTransaction.georadiusbymember(String key,
String member,
double radius,
GeoUnit unit,
Handler<AsyncResult<String>> 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.
|
RedisTransaction |
RedisTransaction.georadiusbymemberWithOptions(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
Handler<AsyncResult<String>> 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.
|
RedisTransaction |
RedisTransaction.georadiusWithOptions(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusOptions options,
Handler<AsyncResult<String>> 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).
|
RedisTransaction |
RedisTransaction.get(String key,
Handler<AsyncResult<String>> handler)
Get the value of a key
|
RedisTransaction |
RedisTransaction.getBinary(String key,
Handler<AsyncResult<Buffer>> handler)
Get the value of a key - without decoding as utf-8
|
RedisTransaction |
RedisTransaction.getbit(String key,
long offset,
Handler<AsyncResult<String>> handler)
Returns the bit value at offset in the string value stored at key
|
RedisTransaction |
RedisTransaction.getrange(String key,
long start,
long end,
Handler<AsyncResult<String>> handler)
Get a substring of the string stored at a key
|
RedisTransaction |
RedisTransaction.getset(String key,
String value,
Handler<AsyncResult<String>> handler)
Set the string value of a key and return its old value
|
RedisTransaction |
RedisTransaction.hdel(String key,
String field,
Handler<AsyncResult<String>> handler)
Delete one or more hash fields
|
RedisTransaction |
RedisTransaction.hdelMany(String key,
List<String> fields,
Handler<AsyncResult<String>> handler)
Delete one or more hash fields
|
RedisTransaction |
RedisTransaction.hexists(String key,
String field,
Handler<AsyncResult<String>> handler)
Determine if a hash field exists
|
RedisTransaction |
RedisTransaction.hget(String key,
String field,
Handler<AsyncResult<String>> handler)
Get the value of a hash field
|
RedisTransaction |
RedisTransaction.hgetall(String key,
Handler<AsyncResult<String>> handler)
Get all the fields and values in a hash
|
RedisTransaction |
RedisTransaction.hincrby(String key,
String field,
long increment,
Handler<AsyncResult<String>> handler)
Increment the integer value of a hash field by the given number
|
RedisTransaction |
RedisTransaction.hincrbyfloat(String key,
String field,
double increment,
Handler<AsyncResult<String>> handler)
Increment the float value of a hash field by the given amount
|
RedisTransaction |
RedisTransaction.hkeys(String key,
Handler<AsyncResult<String>> handler)
Get all the fields in a hash
|
RedisTransaction |
RedisTransaction.hlen(String key,
Handler<AsyncResult<String>> handler)
Get the number of fields in a hash
|
RedisTransaction |
RedisTransaction.hmget(String key,
List<String> fields,
Handler<AsyncResult<String>> handler)
Get the values of all the given hash fields
|
RedisTransaction |
RedisTransaction.hmset(String key,
JsonObject values,
Handler<AsyncResult<String>> handler)
Set multiple hash fields to multiple values
|
RedisTransaction |
RedisTransaction.hscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<String>> handler)
Incrementally iterate hash fields and associated values
|
RedisTransaction |
RedisTransaction.hset(String key,
String field,
String value,
Handler<AsyncResult<String>> handler)
Set the string value of a hash field
|
RedisTransaction |
RedisTransaction.hsetnx(String key,
String field,
String value,
Handler<AsyncResult<String>> handler)
Set the value of a hash field, only if the field does not exist
|
RedisTransaction |
RedisTransaction.hvals(String key,
Handler<AsyncResult<String>> handler)
Get all the values in a hash
|
RedisTransaction |
RedisTransaction.incr(String key,
Handler<AsyncResult<String>> handler)
Increment the integer value of a key by one
|
RedisTransaction |
RedisTransaction.incrby(String key,
long increment,
Handler<AsyncResult<String>> handler)
Increment the integer value of a key by the given amount
|
RedisTransaction |
RedisTransaction.incrbyfloat(String key,
double increment,
Handler<AsyncResult<String>> handler)
Increment the float value of a key by the given amount
|
RedisTransaction |
RedisTransaction.info(Handler<AsyncResult<String>> handler)
Get information and statistics about the server
|
RedisTransaction |
RedisTransaction.infoSection(String section,
Handler<AsyncResult<String>> handler)
Get information and statistics about the server
|
RedisTransaction |
RedisTransaction.keys(String pattern,
Handler<AsyncResult<String>> handler)
Find all keys matching the given pattern
|
RedisTransaction |
RedisTransaction.lastsave(Handler<AsyncResult<String>> handler)
Get the UNIX time stamp of the last successful save to disk
|
RedisTransaction |
RedisTransaction.lindex(String key,
int index,
Handler<AsyncResult<String>> handler)
Get an element from a list by its index
|
RedisTransaction |
RedisTransaction.linsert(String key,
InsertOptions option,
String pivot,
String value,
Handler<AsyncResult<String>> handler)
Insert an element before or after another element in a list
|
RedisTransaction |
RedisTransaction.llen(String key,
Handler<AsyncResult<String>> handler)
Get the length of a list
|
RedisTransaction |
RedisTransaction.lpop(String key,
Handler<AsyncResult<String>> handler)
Remove and get the first element in a list
|
RedisTransaction |
RedisTransaction.lpush(String key,
String value,
Handler<AsyncResult<String>> handler)
Prepend one value to a list
|
RedisTransaction |
RedisTransaction.lpushMany(String key,
List<String> values,
Handler<AsyncResult<String>> handler)
Prepend one or multiple values to a list
|
RedisTransaction |
RedisTransaction.lpushx(String key,
String value,
Handler<AsyncResult<String>> handler)
Prepend a value to a list, only if the list exists
|
RedisTransaction |
RedisTransaction.lrange(String key,
long from,
long to,
Handler<AsyncResult<String>> handler)
Get a range of elements from a list
|
RedisTransaction |
RedisTransaction.lrem(String key,
long count,
String value,
Handler<AsyncResult<String>> handler)
Remove elements from a list
|
RedisTransaction |
RedisTransaction.lset(String key,
long index,
String value,
Handler<AsyncResult<String>> handler)
Set the value of an element in a list by its index
|
RedisTransaction |
RedisTransaction.ltrim(String key,
long from,
long to,
Handler<AsyncResult<String>> handler)
Trim a list to the specified range
|
RedisTransaction |
RedisTransaction.mget(String key,
Handler<AsyncResult<String>> handler)
Get the value of the given key
|
RedisTransaction |
RedisTransaction.mgetMany(List<String> keys,
Handler<AsyncResult<String>> handler)
Get the values of all the given keys
|
RedisTransaction |
RedisTransaction.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.
|
RedisTransaction |
RedisTransaction.monitor(Handler<AsyncResult<String>> handler)
Listen for all requests received by the server in real time
|
RedisTransaction |
RedisTransaction.move(String key,
int destdb,
Handler<AsyncResult<String>> handler)
Move a key to another database
|
RedisTransaction |
RedisTransaction.mset(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values
|
RedisTransaction |
RedisTransaction.msetnx(JsonObject keyvals,
Handler<AsyncResult<String>> handler)
Set multiple keys to multiple values, only if none of the keys exist
|
RedisTransaction |
RedisTransaction.multi(Handler<AsyncResult<String>> handler)
Mark the start of a RedisTransaction block
|
static RedisTransaction |
RedisTransaction.newInstance(RedisTransaction arg) |
RedisTransaction |
RedisTransaction.object(String key,
ObjectCmd cmd,
Handler<AsyncResult<String>> handler)
Inspect the internals of Redis objects
|
RedisTransaction |
RedisTransaction.persist(String key,
Handler<AsyncResult<String>> handler)
Remove the expiration from a key
|
RedisTransaction |
RedisTransaction.pexpire(String key,
long millis,
Handler<AsyncResult<String>> handler)
Set a key's time to live in milliseconds
|
RedisTransaction |
RedisTransaction.pexpireat(String key,
long millis,
Handler<AsyncResult<String>> handler)
Set the expiration for a key as a UNIX timestamp specified in milliseconds
|
RedisTransaction |
RedisTransaction.pfadd(String key,
String element,
Handler<AsyncResult<String>> handler)
Adds the specified element to the specified HyperLogLog.
|
RedisTransaction |
RedisTransaction.pfaddMany(String key,
List<String> elements,
Handler<AsyncResult<String>> handler)
Adds the specified elements to the specified HyperLogLog.
|
RedisTransaction |
RedisTransaction.pfcount(String key,
Handler<AsyncResult<String>> handler)
Return the approximated cardinality of the set observed by the HyperLogLog at key.
|
RedisTransaction |
RedisTransaction.pfcountMany(List<String> keys,
Handler<AsyncResult<String>> handler)
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
RedisTransaction |
RedisTransaction.pfmerge(String destkey,
List<String> keys,
Handler<AsyncResult<String>> handler)
Merge N different HyperLogLogs into a single one.
|
RedisTransaction |
RedisTransaction.ping(Handler<AsyncResult<String>> handler)
Ping the server
|
RedisTransaction |
RedisTransaction.psetex(String key,
long millis,
String value,
Handler<AsyncResult<String>> handler)
Set the value and expiration in milliseconds of a key
|
RedisTransaction |
RedisTransaction.psubscribe(String pattern,
Handler<AsyncResult<String>> handler)
Listen for messages published to channels matching the given pattern
|
RedisTransaction |
RedisTransaction.psubscribeMany(List<String> patterns,
Handler<AsyncResult<String>> handler)
Listen for messages published to channels matching the given patterns
|
RedisTransaction |
RedisTransaction.pttl(String key,
Handler<AsyncResult<String>> handler)
Get the time to live for a key in milliseconds
|
RedisTransaction |
RedisTransaction.publish(String channel,
String message,
Handler<AsyncResult<String>> handler)
Post a message to a channel
|
RedisTransaction |
RedisTransaction.pubsubChannels(String pattern,
Handler<AsyncResult<String>> handler)
Lists the currently active channels - only those matching the pattern
|
RedisTransaction |
RedisTransaction.pubsubNumpat(Handler<AsyncResult<String>> handler)
Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)
|
RedisTransaction |
RedisTransaction.pubsubNumsub(List<String> channels,
Handler<AsyncResult<String>> handler)
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels
|
RedisTransaction |
RedisTransaction.punsubscribe(List<String> patterns,
Handler<AsyncResult<String>> handler)
Stop listening for messages posted to channels matching the given patterns
|
RedisTransaction |
RedisTransaction.randomkey(Handler<AsyncResult<String>> handler)
Return a random key from the keyspace
|
RedisTransaction |
RedisTransaction.rename(String key,
String newkey,
Handler<AsyncResult<String>> handler)
Rename a key
|
RedisTransaction |
RedisTransaction.renamenx(String key,
String newkey,
Handler<AsyncResult<String>> handler)
Rename a key, only if the new key does not exist
|
RedisTransaction |
RedisTransaction.restore(String key,
long millis,
String serialized,
Handler<AsyncResult<String>> handler)
Create a key using the provided serialized value, previously obtained using DUMP.
|
RedisTransaction |
RedisTransaction.role(Handler<AsyncResult<String>> handler)
Return the role of the instance in the context of replication
|
RedisTransaction |
RedisTransaction.rpop(String key,
Handler<AsyncResult<String>> handler)
Remove and get the last element in a list
|
RedisTransaction |
RedisTransaction.rpoplpush(String key,
String destkey,
Handler<AsyncResult<String>> handler)
Remove the last element in a list, append it to another list and return it
|
RedisTransaction |
RedisTransaction.rpush(String key,
String value,
Handler<AsyncResult<String>> handler)
Append one or multiple values to a list
|
RedisTransaction |
RedisTransaction.rpushMany(String key,
List<String> values,
Handler<AsyncResult<String>> handler)
Append one or multiple values to a list
|
RedisTransaction |
RedisTransaction.rpushx(String key,
String value,
Handler<AsyncResult<String>> handler)
Append a value to a list, only if the list exists
|
RedisTransaction |
RedisTransaction.sadd(String key,
String member,
Handler<AsyncResult<String>> handler)
Add a member to a set
|
RedisTransaction |
RedisTransaction.saddMany(String key,
List<String> members,
Handler<AsyncResult<String>> handler)
Add one or more members to a set
|
RedisTransaction |
RedisTransaction.save(Handler<AsyncResult<String>> handler)
Synchronously save the dataset to disk
|
RedisTransaction |
RedisTransaction.scan(String cursor,
ScanOptions options,
Handler<AsyncResult<String>> handler)
Incrementally iterate the keys space
|
RedisTransaction |
RedisTransaction.scard(String key,
Handler<AsyncResult<String>> handler)
Get the number of members in a set
|
RedisTransaction |
RedisTransaction.scriptExists(String script,
Handler<AsyncResult<String>> handler)
Check existence of script in the script cache.
|
RedisTransaction |
RedisTransaction.scriptExistsMany(List<String> scripts,
Handler<AsyncResult<String>> handler)
Check existence of scripts in the script cache.
|
RedisTransaction |
RedisTransaction.scriptFlush(Handler<AsyncResult<String>> handler)
Remove all the scripts from the script cache.
|
RedisTransaction |
RedisTransaction.scriptKill(Handler<AsyncResult<String>> handler)
Kill the script currently in execution.
|
RedisTransaction |
RedisTransaction.scriptLoad(String script,
Handler<AsyncResult<String>> handler)
Load the specified Lua script into the script cache.
|
RedisTransaction |
RedisTransaction.sdiff(String key,
List<String> cmpkeys,
Handler<AsyncResult<String>> handler)
Subtract multiple sets
|
RedisTransaction |
RedisTransaction.sdiffstore(String destkey,
String key,
List<String> cmpkeys,
Handler<AsyncResult<String>> handler)
Subtract multiple sets and store the resulting set in a key
|
RedisTransaction |
RedisTransaction.select(int dbindex,
Handler<AsyncResult<String>> handler)
Change the selected database for the current connection
|
RedisTransaction |
RedisTransaction.set(String key,
String value,
Handler<AsyncResult<String>> handler)
Set the string value of a key
|
RedisTransaction |
RedisTransaction.setBinary(String key,
Buffer value,
Handler<AsyncResult<String>> handler)
Set the binary string value of a key - without encoding as utf-8
|
RedisTransaction |
RedisTransaction.setBinaryWithOptions(String key,
Buffer value,
SetOptions options,
Handler<AsyncResult<String>> handler)
Set the string value of a key
|
RedisTransaction |
RedisTransaction.setbit(String key,
long offset,
int bit,
Handler<AsyncResult<String>> handler)
Sets or clears the bit at offset in the string value stored at key
|
RedisTransaction |
RedisTransaction.setex(String key,
long seconds,
String value,
Handler<AsyncResult<String>> handler)
Set the value and expiration of a key
|
RedisTransaction |
RedisTransaction.setnx(String key,
String value,
Handler<AsyncResult<String>> handler)
Set the value of a key, only if the key does not exist
|
RedisTransaction |
RedisTransaction.setrange(String key,
int offset,
String value,
Handler<AsyncResult<String>> handler)
Overwrite part of a string at key starting at the specified offset
|
RedisTransaction |
RedisTransaction.setWithOptions(String key,
String value,
SetOptions options,
Handler<AsyncResult<String>> handler)
Set the string value of a key
|
RedisTransaction |
RedisTransaction.sinter(List<String> keys,
Handler<AsyncResult<String>> handler)
Intersect multiple sets
|
RedisTransaction |
RedisTransaction.sinterstore(String destkey,
List<String> keys,
Handler<AsyncResult<String>> handler)
Intersect multiple sets and store the resulting set in a key
|
RedisTransaction |
RedisTransaction.sismember(String key,
String member,
Handler<AsyncResult<String>> handler)
Determine if a given value is a member of a set
|
RedisTransaction |
RedisTransaction.slaveof(String host,
int port,
Handler<AsyncResult<String>> handler)
Make the server a slave of another instance
|
RedisTransaction |
RedisTransaction.slaveofNoone(Handler<AsyncResult<String>> handler)
Make this server a master
|
RedisTransaction |
RedisTransaction.slowlogGet(int limit,
Handler<AsyncResult<String>> handler)
Read the Redis slow queries log
|
RedisTransaction |
RedisTransaction.slowlogLen(Handler<AsyncResult<String>> handler)
Get the length of the Redis slow queries log
|
RedisTransaction |
RedisTransaction.slowlogReset(Handler<AsyncResult<String>> handler)
Reset the Redis slow queries log
|
RedisTransaction |
RedisTransaction.smembers(String key,
Handler<AsyncResult<JsonArray>> handler)
Get all the members in a set
|
RedisTransaction |
RedisTransaction.smove(String key,
String destkey,
String member,
Handler<AsyncResult<String>> handler)
Move a member from one set to another
|
RedisTransaction |
RedisTransaction.sort(String key,
SortOptions options,
Handler<AsyncResult<String>> handler)
Sort the elements in a list, set or sorted set
|
RedisTransaction |
RedisTransaction.spop(String key,
Handler<AsyncResult<String>> handler)
Remove and return a random member from a set
|
RedisTransaction |
RedisTransaction.spopMany(String key,
int count,
Handler<AsyncResult<String>> handler)
Remove and return random members from a set
|
RedisTransaction |
RedisTransaction.srandmember(String key,
Handler<AsyncResult<String>> handler)
Get one or multiple random members from a set
|
RedisTransaction |
RedisTransaction.srandmemberCount(String key,
int count,
Handler<AsyncResult<String>> handler)
Get one or multiple random members from a set
|
RedisTransaction |
RedisTransaction.srem(String key,
String member,
Handler<AsyncResult<String>> handler)
Remove one member from a set
|
RedisTransaction |
RedisTransaction.sremMany(String key,
List<String> members,
Handler<AsyncResult<String>> handler)
Remove one or more members from a set
|
RedisTransaction |
RedisTransaction.sscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<String>> handler)
Incrementally iterate Set elements
|
RedisTransaction |
RedisTransaction.strlen(String key,
Handler<AsyncResult<String>> handler)
Get the length of the value stored in a key
|
RedisTransaction |
RedisTransaction.subscribe(String channel,
Handler<AsyncResult<String>> handler)
Listen for messages published to the given channels
|
RedisTransaction |
RedisTransaction.subscribeMany(List<String> channels,
Handler<AsyncResult<String>> handler)
Listen for messages published to the given channels
|
RedisTransaction |
RedisTransaction.sunion(List<String> keys,
Handler<AsyncResult<String>> handler)
Add multiple sets
|
RedisTransaction |
RedisTransaction.sunionstore(String destkey,
List<String> keys,
Handler<AsyncResult<String>> handler)
Add multiple sets and store the resulting set in a key
|
RedisTransaction |
RedisTransaction.swapdb(int index1,
int index2,
Handler<AsyncResult<String>> handler)
Swaps two Redis databases
|
RedisTransaction |
RedisTransaction.sync(Handler<AsyncResult<String>> handler)
Internal command used for replication
|
RedisTransaction |
RedisTransaction.time(Handler<AsyncResult<String>> handler)
Return the current server time
|
RedisTransaction |
RedisClient.transaction()
Return a RedisTransaction instance
|
RedisTransaction |
RedisTransaction.ttl(String key,
Handler<AsyncResult<String>> handler)
Get the time to live for a key
|
RedisTransaction |
RedisTransaction.type(String key,
Handler<AsyncResult<String>> handler)
Determine the type stored at key
|
RedisTransaction |
RedisTransaction.unlink(String key,
Handler<AsyncResult<String>> handler)
Delete a key asynchronously in another thread.
|
RedisTransaction |
RedisTransaction.unlinkMany(List<String> keys,
Handler<AsyncResult<String>> handler)
Delete multiple keys asynchronously in another thread.
|
RedisTransaction |
RedisTransaction.unsubscribe(List<String> channels,
Handler<AsyncResult<String>> handler)
Stop listening for messages posted to the given channels
|
RedisTransaction |
RedisTransaction.unwatch(Handler<AsyncResult<String>> handler)
Forget about all watched keys
|
RedisTransaction |
RedisTransaction.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.
|
RedisTransaction |
RedisTransaction.watch(String key,
Handler<AsyncResult<String>> handler)
Watch the given keys to determine execution of the MULTI/EXEC block
|
RedisTransaction |
RedisTransaction.watchMany(List<String> keys,
Handler<AsyncResult<String>> handler)
Watch the given keys to determine execution of the MULTI/EXEC block
|
RedisTransaction |
RedisTransaction.zadd(String key,
double score,
String member,
Handler<AsyncResult<String>> handler)
Add one or more members to a sorted set, or update its score if it already exists
|
RedisTransaction |
RedisTransaction.zaddMany(String key,
Map<String,Double> members,
Handler<AsyncResult<String>> handler)
Add one or more members to a sorted set, or update its score if it already exists
|
RedisTransaction |
RedisTransaction.zcard(String key,
Handler<AsyncResult<String>> handler)
Get the number of members in a sorted set
|
RedisTransaction |
RedisTransaction.zcount(String key,
double min,
double max,
Handler<AsyncResult<String>> handler)
Count the members in a sorted set with scores within the given values
|
RedisTransaction |
RedisTransaction.zincrby(String key,
double increment,
String member,
Handler<AsyncResult<String>> handler)
Increment the score of a member in a sorted set
|
RedisTransaction |
RedisTransaction.zinterstore(String destkey,
List<String> sets,
AggregateOptions options,
Handler<AsyncResult<String>> handler)
Intersect multiple sorted sets and store the resulting sorted set in a new key
|
RedisTransaction |
RedisTransaction.zinterstoreWeighed(String destkey,
Map<String,Double> sets,
AggregateOptions options,
Handler<AsyncResult<String>> handler)
Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring
|
RedisTransaction |
RedisTransaction.zlexcount(String key,
String min,
String max,
Handler<AsyncResult<String>> handler)
Count the number of members in a sorted set between a given lexicographical range
|
RedisTransaction |
RedisTransaction.zrange(String key,
long start,
long stop,
Handler<AsyncResult<String>> handler)
Return a range of members in a sorted set, by index
|
RedisTransaction |
RedisTransaction.zrangebylex(String key,
String min,
String max,
LimitOptions options,
Handler<AsyncResult<String>> handler)
Return a range of members in a sorted set, by lexicographical range
|
RedisTransaction |
RedisTransaction.zrangebyscore(String key,
String min,
String max,
RangeLimitOptions options,
Handler<AsyncResult<String>> handler)
Return a range of members in a sorted set, by score
|
RedisTransaction |
RedisTransaction.zrangeWithOptions(String key,
long start,
long stop,
RangeOptions options,
Handler<AsyncResult<String>> handler)
Return a range of members in a sorted set, by index
|
RedisTransaction |
RedisTransaction.zrank(String key,
String member,
Handler<AsyncResult<String>> handler)
Determine the index of a member in a sorted set
|
RedisTransaction |
RedisTransaction.zrem(String key,
String member,
Handler<AsyncResult<String>> handler)
Remove one member from a sorted set
|
RedisTransaction |
RedisTransaction.zremMany(String key,
List<String> members,
Handler<AsyncResult<String>> handler)
Remove one or more members from a sorted set
|
RedisTransaction |
RedisTransaction.zremrangebylex(String key,
String min,
String max,
Handler<AsyncResult<String>> handler)
Remove all members in a sorted set between the given lexicographical range
|
RedisTransaction |
RedisTransaction.zremrangebyrank(String key,
long start,
long stop,
Handler<AsyncResult<String>> handler)
Remove all members in a sorted set within the given indexes
|
RedisTransaction |
RedisTransaction.zremrangebyscore(String key,
String min,
String max,
Handler<AsyncResult<String>> handler)
Remove all members in a sorted set within the given scores
|
RedisTransaction |
RedisTransaction.zrevrange(String key,
long start,
long stop,
RangeOptions options,
Handler<AsyncResult<String>> handler)
Return a range of members in a sorted set, by index, with scores ordered from high to low
|
RedisTransaction |
RedisTransaction.zrevrangebylex(String key,
String max,
String min,
LimitOptions options,
Handler<AsyncResult<String>> handler)
Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low
|
RedisTransaction |
RedisTransaction.zrevrangebyscore(String key,
String max,
String min,
RangeLimitOptions options,
Handler<AsyncResult<String>> handler)
Return a range of members in a sorted set, by score, with scores ordered from high to low
|
RedisTransaction |
RedisTransaction.zrevrank(String key,
String member,
Handler<AsyncResult<String>> handler)
Determine the index of a member in a sorted set, with scores ordered from high to low
|
RedisTransaction |
RedisTransaction.zscan(String key,
String cursor,
ScanOptions options,
Handler<AsyncResult<String>> handler)
Incrementally iterate sorted sets elements and associated scores
|
RedisTransaction |
RedisTransaction.zscore(String key,
String member,
Handler<AsyncResult<String>> handler)
Get the score associated with the given member in a sorted set
|
RedisTransaction |
RedisTransaction.zunionstore(String destkey,
List<String> sets,
AggregateOptions options,
Handler<AsyncResult<String>> handler)
Add multiple sorted sets and store the resulting sorted set in a new key
|
RedisTransaction |
RedisTransaction.zunionstoreWeighed(String key,
Map<String,Double> sets,
AggregateOptions options,
Handler<AsyncResult<String>> handler)
Add multiple sorted sets using weights, and store the resulting sorted set in a new key
|
Copyright © 2023 Eclipse. All rights reserved.