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