Package | Description |
---|---|
com.lambdaworks.redis |
The redis client package containing
RedisClient for regular and sentinel operations. |
com.lambdaworks.redis.api.async |
Standalone Redis API for asynchronous executed commands.
|
com.lambdaworks.redis.cluster |
Client for redis clusters
RedisClusterClient . |
com.lambdaworks.redis.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
com.lambdaworks.redis.protocol |
Redis protocol layer abstraction.
|
com.lambdaworks.redis.pubsub |
Pub/Sub connection classes.
|
com.lambdaworks.redis.pubsub.api.async |
PubSub Redis API for asynchronous executed commands.
|
com.lambdaworks.redis.sentinel |
Redis Sentinel connection classes.
|
com.lambdaworks.redis.sentinel.api.async |
Redis Sentinel API for asynchronous executed commands.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<Long> |
RedisStringsAsyncConnection.append(K key,
V value)
Deprecated.
Append a value to a key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.append(K key,
V value) |
RedisFuture<String> |
RedisClusterAsyncConnection.asking()
Deprecated.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.asking() |
RedisFuture<String> |
RedisServerAsyncConnection.bgrewriteaof()
Deprecated.
Asynchronously rewrite the append-only file.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.bgrewriteaof() |
RedisFuture<String> |
RedisServerAsyncConnection.bgsave()
Deprecated.
Asynchronously save the dataset to disk.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.bgsave() |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitcount(K key)
Deprecated.
Count set bits in a string.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitcount(K key) |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitcount(K key,
long start,
long end)
Deprecated.
Count set bits in a string.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitcount(K key,
long start,
long end) |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitopAnd(K destination,
K... keys)
Deprecated.
Perform bitwise AND between strings.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitopAnd(K destination,
K... keys) |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitopNot(K destination,
K source)
Deprecated.
Perform bitwise NOT between strings.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitopNot(K destination,
K source) |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitopOr(K destination,
K... keys)
Deprecated.
Perform bitwise OR between strings.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitopOr(K destination,
K... keys) |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitopXor(K destination,
K... keys)
Deprecated.
Perform bitwise XOR between strings.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitopXor(K destination,
K... keys) |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitpos(K key,
boolean state)
Deprecated.
Find first bit set or clear in a string.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitpos(K key,
boolean state) |
RedisFuture<Long> |
RedisStringsAsyncConnection.bitpos(K key,
boolean state,
long start,
long end)
Deprecated.
Find first bit set or clear in a string.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.bitpos(K key,
boolean state,
long start,
long end) |
RedisFuture<KeyValue<K,V>> |
RedisListsAsyncConnection.blpop(long timeout,
K... keys)
Deprecated.
Remove and get the first element in a list, or block until one is available.
|
RedisFuture<KeyValue<K,V>> |
AbstractRedisAsyncCommands.blpop(long timeout,
K... keys) |
RedisFuture<KeyValue<K,V>> |
RedisListsAsyncConnection.brpop(long timeout,
K... keys)
Deprecated.
Remove and get the last element in a list, or block until one is available.
|
RedisFuture<KeyValue<K,V>> |
AbstractRedisAsyncCommands.brpop(long timeout,
K... keys) |
RedisFuture<V> |
RedisListsAsyncConnection.brpoplpush(long timeout,
K source,
K destination)
Deprecated.
Pop a value from a list, push it to another list and return it; or block until one is available.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.brpoplpush(long timeout,
K source,
K destination) |
RedisFuture<K> |
RedisServerAsyncConnection.clientGetname()
Deprecated.
Get the current connection name.
|
RedisFuture<K> |
AbstractRedisAsyncCommands.clientGetname() |
RedisFuture<Long> |
RedisServerAsyncConnection.clientKill(KillArgs killArgs)
Deprecated.
Kill connections of clients which are filtered by
killArgs |
RedisFuture<Long> |
AbstractRedisAsyncCommands.clientKill(KillArgs killArgs) |
RedisFuture<String> |
RedisServerAsyncConnection.clientKill(String addr)
Deprecated.
Kill the connection of a client identified by ip:port.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clientKill(String addr) |
RedisFuture<String> |
RedisServerAsyncConnection.clientList()
Deprecated.
Get the list of client connections.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clientList() |
RedisFuture<String> |
RedisServerAsyncConnection.clientPause(long timeout)
Deprecated.
Stop processing commands from clients for some time.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clientPause(long timeout) |
RedisFuture<String> |
RedisServerAsyncConnection.clientSetname(K name)
Deprecated.
Set the current connection name.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clientSetname(K name) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterAddSlots(int... slots)
Deprecated.
Adds slots to the cluster node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterAddSlots(int... slots) |
RedisFuture<Long> |
RedisClusterAsyncConnection.clusterCountFailureReports(String nodeId)
Deprecated.
Returns the number of failure reports for the specified node.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.clusterCountFailureReports(String nodeId) |
RedisFuture<Long> |
RedisClusterAsyncConnection.clusterCountKeysInSlot(int slot)
Deprecated.
Returns the number of keys in the specified Redis Cluster hash
slot . |
RedisFuture<Long> |
AbstractRedisAsyncCommands.clusterCountKeysInSlot(int slot) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterDelSlots(int... slots)
Deprecated.
Removes slots from the cluster node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterDelSlots(int... slots) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterFailover(boolean force)
Deprecated.
Failover a cluster node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterFailover(boolean force) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterFlushslots()
Deprecated.
Delete all the slots associated with the specified node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterFlushslots() |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterForget(String nodeId)
Deprecated.
Blacklist and remove the cluster node from the cluster.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterForget(String nodeId) |
RedisFuture<List<K>> |
RedisClusterAsyncConnection.clusterGetKeysInSlot(int slot,
int count)
Deprecated.
Retrieve the list of keys within the
slot . |
RedisFuture<List<K>> |
AbstractRedisAsyncCommands.clusterGetKeysInSlot(int slot,
int count) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterInfo()
Deprecated.
Get information and statistics about the cluster viewed by the current node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterInfo() |
RedisFuture<Long> |
RedisClusterAsyncConnection.clusterKeyslot(K key)
Deprecated.
Returns an integer identifying the hash slot the specified key hashes to.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.clusterKeyslot(K key) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterMeet(String ip,
int port)
Deprecated.
Meet another cluster node to include the node into the cluster.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterMeet(String ip,
int port) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterMyId()
Deprecated.
Obtain the nodeId for the currently connected node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterMyId() |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterNodes()
Deprecated.
Obtain details about all cluster nodes.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterNodes() |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterReplicate(String nodeId)
Deprecated.
Turn this node into a slave of the node with the id
nodeId . |
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterReplicate(String nodeId) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterReset(boolean hard)
Deprecated.
Reset a node performing a soft or hard reset:
All other nodes are forgotten
All the assigned / open slots are released
If the node is a slave, it turns into a master
Only for hard reset: a new Node ID is generated
Only for hard reset: currentEpoch and configEpoch are set to 0
The new configuration is saved and the cluster state updated
If the node was a slave, the whole data set is flushed away
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterReset(boolean hard) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterSaveconfig()
Deprecated.
Forces a node to save the nodes.conf configuration on disk.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterSaveconfig() |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterSetConfigEpoch(long configEpoch)
Deprecated.
This command sets a specific config epoch in a fresh node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterSetConfigEpoch(long configEpoch) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterSetSlotImporting(int slot,
String nodeId)
Deprecated.
Flag a slot as IMPORTING (incoming) from the node specified in
nodeId . |
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterSetSlotImporting(int slot,
String nodeId) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterSetSlotMigrating(int slot,
String nodeId)
Deprecated.
Flag a slot as MIGRATING (outgoing) towards the node specified in
nodeId . |
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterSetSlotMigrating(int slot,
String nodeId) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterSetSlotNode(int slot,
String nodeId)
Deprecated.
Assign a slot to a node.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterSetSlotNode(int slot,
String nodeId) |
RedisFuture<String> |
RedisClusterAsyncConnection.clusterSetSlotStable(int slot)
Deprecated.
Clears migrating / importing state from the slot.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.clusterSetSlotStable(int slot) |
RedisFuture<List<String>> |
RedisClusterAsyncConnection.clusterSlaves(String nodeId)
Deprecated.
List slaves for a certain node identified by its
nodeId . |
RedisFuture<List<String>> |
AbstractRedisAsyncCommands.clusterSlaves(String nodeId) |
RedisFuture<List<Object>> |
RedisClusterAsyncConnection.clusterSlots()
Deprecated.
Get array of cluster slots to node mappings.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.clusterSlots() |
RedisFuture<List<Object>> |
RedisServerAsyncConnection.command()
Deprecated.
Returns an array reply of details about all Redis commands.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.command() |
RedisFuture<Long> |
RedisServerAsyncConnection.commandCount()
Deprecated.
Get total number of Redis commands.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.commandCount() |
RedisFuture<List<Object>> |
RedisServerAsyncConnection.commandInfo(CommandType... commands)
Deprecated.
Returns an array reply of details about the requested commands.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.commandInfo(CommandType... commands) |
RedisFuture<List<Object>> |
RedisServerAsyncConnection.commandInfo(String... commands)
Deprecated.
Returns an array reply of details about the requested commands.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.commandInfo(String... commands) |
RedisFuture<List<String>> |
RedisServerAsyncConnection.configGet(String parameter)
Deprecated.
Get the value of a configuration parameter.
|
RedisFuture<List<String>> |
AbstractRedisAsyncCommands.configGet(String parameter) |
RedisFuture<String> |
RedisServerAsyncConnection.configResetstat()
Deprecated.
Reset the stats returned by INFO.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.configResetstat() |
RedisFuture<String> |
RedisServerAsyncConnection.configRewrite()
Deprecated.
Rewrite the configuration file with the in memory configuration.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.configRewrite() |
RedisFuture<String> |
RedisServerAsyncConnection.configSet(String parameter,
String value)
Deprecated.
Set a configuration parameter to the given value.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.configSet(String parameter,
String value) |
RedisFuture<Long> |
RedisServerAsyncConnection.dbsize()
Deprecated.
Return the number of keys in the selected database.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.dbsize() |
RedisFuture<String> |
AbstractRedisAsyncCommands.debugCrashAndRecover(Long delay) |
RedisFuture<String> |
RedisServerAsyncConnection.debugHtstats(int db)
Deprecated.
Get debugging information about the internal hash-table state.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.debugHtstats(int db) |
RedisFuture<String> |
RedisServerAsyncConnection.debugObject(K key)
Deprecated.
Get debugging information about a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.debugObject(K key) |
RedisFuture<String> |
AbstractRedisAsyncCommands.debugReload() |
RedisFuture<String> |
AbstractRedisAsyncCommands.debugRestart(Long delay) |
RedisFuture<String> |
AbstractRedisAsyncCommands.debugSdslen(K key) |
RedisFuture<Long> |
RedisStringsAsyncConnection.decr(K key)
Deprecated.
Decrement the integer value of a key by one.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.decr(K key) |
RedisFuture<Long> |
RedisStringsAsyncConnection.decrby(K key,
long amount)
Deprecated.
Decrement the integer value of a key by the given number.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.decrby(K key,
long amount) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.del(Iterable<K> keys) |
RedisFuture<Long> |
RedisKeysAsyncConnection.del(K... keys)
Deprecated.
Delete one or more keys.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.del(K... keys) |
RedisFuture<String> |
BaseRedisAsyncConnection.discard()
Deprecated.
Discard all commands issued after MULTI.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.discard() |
protected <T> RedisFuture<T> |
AbstractRedisAsyncCommands.dispatch(CommandType type,
CommandOutput<K,V,T> output) |
protected <T> RedisFuture<T> |
AbstractRedisAsyncCommands.dispatch(CommandType type,
CommandOutput<K,V,T> output,
CommandArgs<K,V> args) |
RedisFuture<byte[]> |
RedisKeysAsyncConnection.dump(K key)
Deprecated.
Return a serialized version of the value stored at the specified key.
|
RedisFuture<byte[]> |
AbstractRedisAsyncCommands.dump(K key) |
RedisFuture<V> |
BaseRedisAsyncConnection.echo(V msg)
Deprecated.
Echo the given string.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.echo(V msg) |
<T> RedisFuture<T> |
RedisScriptingAsyncConnection.eval(String script,
ScriptOutputType type,
K... keys)
Deprecated.
Execute a Lua script server side.
|
<T> RedisFuture<T> |
AbstractRedisAsyncCommands.eval(String script,
ScriptOutputType type,
K... keys) |
<T> RedisFuture<T> |
RedisScriptingAsyncConnection.eval(String script,
ScriptOutputType type,
K[] keys,
V... values)
Deprecated.
Execute a Lua script server side.
|
<T> RedisFuture<T> |
AbstractRedisAsyncCommands.eval(String script,
ScriptOutputType type,
K[] keys,
V... values) |
<T> RedisFuture<T> |
RedisScriptingAsyncConnection.evalsha(String digest,
ScriptOutputType type,
K... keys)
Deprecated.
Evaluates a script cached on the server side by its SHA1 digest
|
<T> RedisFuture<T> |
AbstractRedisAsyncCommands.evalsha(String digest,
ScriptOutputType type,
K... keys) |
<T> RedisFuture<T> |
RedisScriptingAsyncConnection.evalsha(String digest,
ScriptOutputType type,
K[] keys,
V... values)
Deprecated.
Execute a Lua script server side.
|
<T> RedisFuture<T> |
AbstractRedisAsyncCommands.evalsha(String digest,
ScriptOutputType type,
K[] keys,
V... values) |
RedisFuture<List<Object>> |
BaseRedisAsyncConnection.exec()
Deprecated.
Execute all commands issued after MULTI.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.exec() |
RedisFuture<Long> |
RedisKeysAsyncConnection.exists(K... keys)
Deprecated.
Determine how many keys exist.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.exists(K... keys) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.exists(K key)
Deprecated.
Use
RedisKeysAsyncConnection.exists(Object[]) instead |
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.exists(K key) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.expire(K key,
long seconds)
Deprecated.
Set a key's time to live in seconds.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expire(K key,
long seconds) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.expireat(K key,
Date timestamp)
Deprecated.
Set the expiration for a key as a UNIX timestamp.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expireat(K key,
Date timestamp) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.expireat(K key,
long timestamp)
Deprecated.
Set the expiration for a key as a UNIX timestamp.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.expireat(K key,
long timestamp) |
RedisFuture<String> |
RedisSentinelAsyncConnection.failover(K key)
Deprecated.
Perform a failover.
|
RedisFuture<String> |
RedisServerAsyncConnection.flushall()
Deprecated.
Remove all keys from all databases.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.flushall() |
RedisFuture<String> |
RedisServerAsyncConnection.flushallAsync()
Deprecated.
Remove all keys asynchronously from all databases.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.flushallAsync() |
RedisFuture<String> |
RedisServerAsyncConnection.flushdb()
Deprecated.
Remove all keys from the current database.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.flushdb() |
RedisFuture<String> |
RedisServerAsyncConnection.flushdbAsync()
Deprecated.
Remove all keys asynchronously from the current database.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.flushdbAsync() |
RedisFuture<Long> |
RedisGeoAsyncConnection.geoadd(K key,
double longitude,
double latitude,
V member)
Deprecated.
Single geo add.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.geoadd(K key,
double longitude,
double latitude,
V member) |
RedisFuture<Long> |
RedisGeoAsyncConnection.geoadd(K key,
Object... lngLatMember)
Deprecated.
Multi geo add.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.geoadd(K key,
Object... lngLatMember) |
RedisFuture<Double> |
RedisGeoAsyncConnection.geodist(K key,
V from,
V to,
GeoArgs.Unit unit)
Deprecated.
Retrieve distance between points
from and to . |
RedisFuture<Double> |
AbstractRedisAsyncCommands.geodist(K key,
V from,
V to,
GeoArgs.Unit unit) |
RedisFuture<List<GeoCoordinates>> |
RedisGeoAsyncConnection.geopos(K key,
V... members)
Deprecated.
Get geo coordinates for the
members . |
RedisFuture<List<GeoCoordinates>> |
AbstractRedisAsyncCommands.geopos(K key,
V... members) |
RedisFuture<Set<V>> |
RedisGeoAsyncConnection.georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit)
Deprecated.
Retrieve members selected by distance with the center of
longitude and latitude . |
RedisFuture<Set<V>> |
AbstractRedisAsyncCommands.georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit) |
RedisFuture<List<GeoWithin<V>>> |
RedisGeoAsyncConnection.georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs)
Deprecated.
Retrieve members selected by distance with the center of
longitude and latitude . |
RedisFuture<List<GeoWithin<V>>> |
AbstractRedisAsyncCommands.georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs) |
RedisFuture<Set<V>> |
RedisGeoAsyncConnection.georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit)
Deprecated.
Retrieve members selected by distance with the center of
member . |
RedisFuture<Set<V>> |
AbstractRedisAsyncCommands.georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit) |
RedisFuture<List<GeoWithin<V>>> |
RedisGeoAsyncConnection.georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs)
Deprecated.
Retrieve members selected by distance with the center of
member . |
RedisFuture<List<GeoWithin<V>>> |
AbstractRedisAsyncCommands.georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs) |
RedisFuture<V> |
RedisStringsAsyncConnection.get(K key)
Deprecated.
Get the value of a key.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.get(K key) |
RedisFuture<Long> |
RedisStringsAsyncConnection.getbit(K key,
long offset)
Deprecated.
Returns the bit value at offset in the string value stored at key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.getbit(K key,
long offset) |
RedisFuture<SocketAddress> |
RedisSentinelAsyncConnection.getMasterAddrByName(K key)
Deprecated.
Return the ip and port number of the master with that name.
|
RedisFuture<V> |
RedisStringsAsyncConnection.getrange(K key,
long start,
long end)
Deprecated.
Get a substring of the string stored at a key.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.getrange(K key,
long start,
long end) |
RedisFuture<V> |
RedisStringsAsyncConnection.getset(K key,
V value)
Deprecated.
Set the string value of a key and return its old value.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.getset(K key,
V value) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hdel(K key,
K... fields)
Deprecated.
Delete one or more hash fields.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hdel(K key,
K... fields) |
RedisFuture<Boolean> |
RedisHashesAsyncConnection.hexists(K key,
K field)
Deprecated.
Determine if a hash field exists.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.hexists(K key,
K field) |
RedisFuture<V> |
RedisHashesAsyncConnection.hget(K key,
K field)
Deprecated.
Get the value of a hash field.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.hget(K key,
K field) |
RedisFuture<Map<K,V>> |
RedisHashesAsyncConnection.hgetall(K key)
Deprecated.
Get all the fields and values in a hash.
|
RedisFuture<Map<K,V>> |
AbstractRedisAsyncCommands.hgetall(K key) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hgetall(KeyValueStreamingChannel<K,V> channel,
K key)
Deprecated.
Stream over all the fields and values in a hash.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hgetall(KeyValueStreamingChannel<K,V> channel,
K key) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hincrby(K key,
K field,
long amount)
Deprecated.
Increment the integer value of a hash field by the given number.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hincrby(K key,
K field,
long amount) |
RedisFuture<Double> |
RedisHashesAsyncConnection.hincrbyfloat(K key,
K field,
double amount)
Deprecated.
Increment the float value of a hash field by the given amount.
|
RedisFuture<Double> |
AbstractRedisAsyncCommands.hincrbyfloat(K key,
K field,
double amount) |
RedisFuture<List<K>> |
RedisHashesAsyncConnection.hkeys(K key)
Deprecated.
Get all the fields in a hash.
|
RedisFuture<List<K>> |
AbstractRedisAsyncCommands.hkeys(K key) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hkeys(KeyStreamingChannel<K> channel,
K key)
Deprecated.
Get all the fields in a hash.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hkeys(KeyStreamingChannel<K> channel,
K key) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hlen(K key)
Deprecated.
Get the number of fields in a hash.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hlen(K key) |
RedisFuture<List<V>> |
RedisHashesAsyncConnection.hmget(K key,
K... fields)
Deprecated.
Get the values of all the given hash fields.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.hmget(K key,
K... fields) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hmget(ValueStreamingChannel<V> channel,
K key,
K... fields)
Deprecated.
Stream over the values of all the given hash fields.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hmget(ValueStreamingChannel<V> channel,
K key,
K... fields) |
RedisFuture<String> |
RedisHashesAsyncConnection.hmset(K key,
Map<K,V> map)
Deprecated.
Set multiple hash fields to multiple values.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.hmset(K key,
Map<K,V> map) |
RedisFuture<MapScanCursor<K,V>> |
RedisHashesAsyncConnection.hscan(K key)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<MapScanCursor<K,V>> |
AbstractRedisAsyncCommands.hscan(K key) |
RedisFuture<StreamScanCursor> |
RedisHashesAsyncConnection.hscan(KeyValueStreamingChannel<K,V> channel,
K key)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key) |
RedisFuture<StreamScanCursor> |
RedisHashesAsyncConnection.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanArgs scanArgs) |
RedisFuture<StreamScanCursor> |
RedisHashesAsyncConnection.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor) |
RedisFuture<StreamScanCursor> |
RedisHashesAsyncConnection.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<MapScanCursor<K,V>> |
RedisHashesAsyncConnection.hscan(K key,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<MapScanCursor<K,V>> |
AbstractRedisAsyncCommands.hscan(K key,
ScanArgs scanArgs) |
RedisFuture<MapScanCursor<K,V>> |
RedisHashesAsyncConnection.hscan(K key,
ScanCursor scanCursor)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<MapScanCursor<K,V>> |
AbstractRedisAsyncCommands.hscan(K key,
ScanCursor scanCursor) |
RedisFuture<MapScanCursor<K,V>> |
RedisHashesAsyncConnection.hscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate hash fields and associated values.
|
RedisFuture<MapScanCursor<K,V>> |
AbstractRedisAsyncCommands.hscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<Boolean> |
RedisHashesAsyncConnection.hset(K key,
K field,
V value)
Deprecated.
Set the string value of a hash field.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.hset(K key,
K field,
V value) |
RedisFuture<Boolean> |
RedisHashesAsyncConnection.hsetnx(K key,
K field,
V value)
Deprecated.
Set the value of a hash field, only if the field does not exist.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.hsetnx(K key,
K field,
V value) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hstrlen(K key,
K field)
Deprecated.
Get the string length of the field value in a hash.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hstrlen(K key,
K field) |
RedisFuture<List<V>> |
RedisHashesAsyncConnection.hvals(K key)
Deprecated.
Get all the values in a hash.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.hvals(K key) |
RedisFuture<Long> |
RedisHashesAsyncConnection.hvals(ValueStreamingChannel<V> channel,
K key)
Deprecated.
Stream over all the values in a hash.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.hvals(ValueStreamingChannel<V> channel,
K key) |
RedisFuture<Long> |
RedisStringsAsyncConnection.incr(K key)
Deprecated.
Increment the integer value of a key by one.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.incr(K key) |
RedisFuture<Long> |
RedisStringsAsyncConnection.incrby(K key,
long amount)
Deprecated.
Increment the integer value of a key by the given amount.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.incrby(K key,
long amount) |
RedisFuture<Double> |
RedisStringsAsyncConnection.incrbyfloat(K key,
double amount)
Deprecated.
Increment the float value of a key by the given amount.
|
RedisFuture<Double> |
AbstractRedisAsyncCommands.incrbyfloat(K key,
double amount) |
RedisFuture<String> |
RedisServerAsyncConnection.info()
Deprecated.
Get information and statistics about the server.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.info() |
RedisFuture<String> |
RedisServerAsyncConnection.info(String section)
Deprecated.
Get information and statistics about the server.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.info(String section) |
RedisFuture<List<K>> |
RedisKeysAsyncConnection.keys(K pattern)
Deprecated.
Find all keys matching the given pattern.
|
RedisFuture<List<K>> |
AbstractRedisAsyncCommands.keys(K pattern) |
RedisFuture<Long> |
RedisKeysAsyncConnection.keys(KeyStreamingChannel<K> channel,
K pattern)
Deprecated.
Find all keys matching the given pattern.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.keys(KeyStreamingChannel<K> channel,
K pattern) |
RedisFuture<Date> |
RedisServerAsyncConnection.lastsave()
Deprecated.
Get the UNIX time stamp of the last successful save to disk.
|
RedisFuture<Date> |
AbstractRedisAsyncCommands.lastsave() |
RedisFuture<V> |
RedisListsAsyncConnection.lindex(K key,
long index)
Deprecated.
Get an element from a list by its index.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.lindex(K key,
long index) |
RedisFuture<Long> |
RedisListsAsyncConnection.linsert(K key,
boolean before,
V pivot,
V value)
Deprecated.
Insert an element before or after another element in a list.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.linsert(K key,
boolean before,
V pivot,
V value) |
RedisFuture<Long> |
RedisListsAsyncConnection.llen(K key)
Deprecated.
Get the length of a list.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.llen(K key) |
RedisFuture<V> |
RedisListsAsyncConnection.lpop(K key)
Deprecated.
Remove and get the first element in a list.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.lpop(K key) |
RedisFuture<Long> |
RedisListsAsyncConnection.lpush(K key,
V... values)
Deprecated.
Prepend one or multiple values to a list.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.lpush(K key,
V... values) |
RedisFuture<Long> |
RedisListsAsyncConnection.lpushx(K key,
V value)
Deprecated.
Prepend a value to a list, only if the list exists.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.lpushx(K key,
V value) |
RedisFuture<List<V>> |
RedisListsAsyncConnection.lrange(K key,
long start,
long stop)
Deprecated.
Get a range of elements from a list.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.lrange(K key,
long start,
long stop) |
RedisFuture<Long> |
RedisListsAsyncConnection.lrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
Get a range of elements from a list.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.lrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop) |
RedisFuture<Long> |
RedisListsAsyncConnection.lrem(K key,
long count,
V value)
Deprecated.
Remove elements from a list.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.lrem(K key,
long count,
V value) |
RedisFuture<String> |
RedisListsAsyncConnection.lset(K key,
long index,
V value)
Deprecated.
Set the value of an element in a list by its index.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.lset(K key,
long index,
V value) |
RedisFuture<String> |
RedisListsAsyncConnection.ltrim(K key,
long start,
long stop)
Deprecated.
Trim a list to the specified range.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.ltrim(K key,
long start,
long stop) |
RedisFuture<Map<K,V>> |
RedisSentinelAsyncConnection.master(K key)
Deprecated.
Show the state and info of the specified master.
|
RedisFuture<List<Map<K,V>>> |
RedisSentinelAsyncConnection.masters()
Deprecated.
Enumerates all the monitored masters and their states.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.mget(Iterable<K> keys) |
RedisFuture<List<V>> |
RedisStringsAsyncConnection.mget(K... keys)
Deprecated.
Get the values of all the given keys.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.mget(K... keys) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.mget(ValueStreamingChannel<V> channel,
Iterable<K> keys) |
RedisFuture<Long> |
RedisStringsAsyncConnection.mget(ValueStreamingChannel<V> channel,
K... keys)
Deprecated.
Stream the values of all the given keys.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.mget(ValueStreamingChannel<V> channel,
K... keys) |
RedisFuture<String> |
RedisKeysAsyncConnection.migrate(String host,
int port,
K key,
int db,
long timeout)
Deprecated.
Atomically transfer a key from a Redis instance to another one.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.migrate(String host,
int port,
K key,
int db,
long timeout) |
RedisFuture<String> |
RedisSentinelAsyncConnection.monitor(K key,
String ip,
int port,
int quorum)
Deprecated.
This command tells the Sentinel to start monitoring a new master with the specified name, ip, port, and quorum.
|
RedisFuture<Boolean> |
RedisKeysAsyncConnection.move(K key,
int db)
Deprecated.
Move a key to another database.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.move(K key,
int db) |
RedisFuture<String> |
RedisStringsAsyncConnection.mset(Map<K,V> map)
Deprecated.
Set multiple keys to multiple values.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.mset(Map<K,V> map) |
RedisFuture<Boolean> |
RedisStringsAsyncConnection.msetnx(Map<K,V> map)
Deprecated.
Set multiple keys to multiple values, only if none of the keys exist.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.msetnx(Map<K,V> map) |
RedisFuture<String> |
BaseRedisAsyncConnection.multi()
Deprecated.
Mark the start of a transaction block.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.multi() |
RedisFuture<String> |
RedisKeysAsyncConnection.objectEncoding(K key)
Deprecated.
returns the kind of internal representation used in order to store the value associated with a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.objectEncoding(K key) |
RedisFuture<Long> |
RedisKeysAsyncConnection.objectIdletime(K key)
Deprecated.
returns the number of seconds since the object stored at the specified key is idle (not requested by read or write
operations).
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.objectIdletime(K key) |
RedisFuture<Long> |
RedisKeysAsyncConnection.objectRefcount(K key)
Deprecated.
returns the number of references of the value associated with the specified key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.objectRefcount(K key) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.persist(K key)
Deprecated.
Remove the expiration from a key.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.persist(K key) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.pexpire(K key,
long milliseconds)
Deprecated.
Set a key's time to live in milliseconds.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpire(K key,
long milliseconds) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.pexpireat(K key,
Date timestamp)
Deprecated.
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpireat(K key,
Date timestamp) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.pexpireat(K key,
long timestamp)
Deprecated.
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.pexpireat(K key,
long timestamp) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.pfadd(K key,
V... values) |
RedisFuture<Long> |
RedisHLLAsyncConnection.pfadd(K key,
V value,
V... moreValues)
Deprecated.
Adds the specified elements to the specified HyperLogLog.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.pfadd(K key,
V value,
V... moreValues) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.pfcount(K... keys) |
RedisFuture<Long> |
RedisHLLAsyncConnection.pfcount(K key,
K... moreKeys)
Deprecated.
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.pfcount(K key,
K... moreKeys) |
RedisFuture<String> |
AbstractRedisAsyncCommands.pfmerge(K destkey,
K... sourcekeys) |
RedisFuture<String> |
RedisHLLAsyncConnection.pfmerge(K destkey,
K sourcekey,
K... moreSourceKeys)
Deprecated.
Merge N different HyperLogLogs into a single one.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.pfmerge(K destkey,
K sourcekey,
K... moreSourceKeys) |
RedisFuture<String> |
RedisSentinelAsyncConnection.ping()
Deprecated.
Ping the server.
|
RedisFuture<String> |
BaseRedisAsyncConnection.ping()
Deprecated.
Ping the server.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.ping() |
RedisFuture<String> |
RedisStringsAsyncConnection.psetex(K key,
long milliseconds,
V value)
Deprecated.
Set the value and expiration in milliseconds of a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.psetex(K key,
long milliseconds,
V value) |
RedisFuture<Long> |
RedisKeysAsyncConnection.pttl(K key)
Deprecated.
Get the time to live for a key in milliseconds.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.pttl(K key) |
RedisFuture<Long> |
BaseRedisAsyncConnection.publish(K channel,
V message)
Deprecated.
Post a message to a channel.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.publish(K channel,
V message) |
RedisFuture<List<K>> |
BaseRedisAsyncConnection.pubsubChannels()
Deprecated.
Lists the currently *active channels*.
|
RedisFuture<List<K>> |
AbstractRedisAsyncCommands.pubsubChannels() |
RedisFuture<List<K>> |
BaseRedisAsyncConnection.pubsubChannels(K channel)
Deprecated.
Lists the currently *active channels*.
|
RedisFuture<List<K>> |
AbstractRedisAsyncCommands.pubsubChannels(K channel) |
RedisFuture<Long> |
BaseRedisAsyncConnection.pubsubNumpat()
Deprecated.
Returns the number of subscriptions to patterns.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.pubsubNumpat() |
RedisFuture<Map<K,Long>> |
BaseRedisAsyncConnection.pubsubNumsub(K... channels)
Deprecated.
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels.
|
RedisFuture<Map<K,Long>> |
AbstractRedisAsyncCommands.pubsubNumsub(K... channels) |
RedisFuture<String> |
BaseRedisAsyncConnection.quit()
Deprecated.
Close the connection.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.quit() |
RedisFuture<V> |
RedisKeysAsyncConnection.randomkey()
Deprecated.
Return a random key from the keyspace.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.randomkey() |
RedisFuture<String> |
RedisClusterAsyncConnection.readOnly()
Deprecated.
Tells a Redis cluster slave node that the client is ok reading possibly stale data and is not interested in running write
queries.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.readOnly() |
RedisFuture<String> |
RedisClusterAsyncConnection.readWrite()
Deprecated.
Resets readOnly flag.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.readWrite() |
RedisFuture<String> |
RedisSentinelAsyncConnection.remove(K key)
Deprecated.
remove the specified master.
|
RedisFuture<String> |
RedisKeysAsyncConnection.rename(K key,
K newKey)
Deprecated.
Rename a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.rename(K key,
K newKey) |
RedisFuture<Boolean> |
RedisKeysAsyncConnection.renamenx(K key,
K newKey)
Deprecated.
Rename a key, only if the new key does not exist.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.renamenx(K key,
K newKey) |
RedisFuture<Long> |
RedisSentinelAsyncConnection.reset(K key)
Deprecated.
This command will reset all the masters with matching name.
|
RedisFuture<String> |
RedisKeysAsyncConnection.restore(K key,
long ttl,
byte[] value)
Deprecated.
Create a key using the provided serialized value, previously obtained using DUMP.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.restore(K key,
long ttl,
byte[] value) |
RedisFuture<List<Object>> |
BaseRedisAsyncConnection.role()
Deprecated.
Return the role of the instance in the context of replication.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.role() |
RedisFuture<V> |
RedisListsAsyncConnection.rpop(K key)
Deprecated.
Remove and get the last element in a list.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.rpop(K key) |
RedisFuture<V> |
RedisListsAsyncConnection.rpoplpush(K source,
K destination)
Deprecated.
Remove the last element in a list, append it to another list and return it.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.rpoplpush(K source,
K destination) |
RedisFuture<Long> |
RedisListsAsyncConnection.rpush(K key,
V... values)
Deprecated.
Append one or multiple values to a list.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.rpush(K key,
V... values) |
RedisFuture<Long> |
RedisListsAsyncConnection.rpushx(K key,
V value)
Deprecated.
Append a value to a list, only if the list exists.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.rpushx(K key,
V value) |
RedisFuture<Long> |
RedisSetsAsyncConnection.sadd(K key,
V... members)
Deprecated.
Add one or more members to a set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sadd(K key,
V... members) |
RedisFuture<String> |
RedisServerAsyncConnection.save()
Deprecated.
Synchronously save the dataset to disk.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.save() |
RedisFuture<KeyScanCursor<K>> |
RedisKeysAsyncConnection.scan()
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<KeyScanCursor<K>> |
AbstractRedisAsyncCommands.scan() |
RedisFuture<StreamScanCursor> |
RedisKeysAsyncConnection.scan(KeyStreamingChannel<K> channel)
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.scan(KeyStreamingChannel<K> channel) |
RedisFuture<StreamScanCursor> |
RedisKeysAsyncConnection.scan(KeyStreamingChannel<K> channel,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.scan(KeyStreamingChannel<K> channel,
ScanArgs scanArgs) |
RedisFuture<StreamScanCursor> |
RedisKeysAsyncConnection.scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor)
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor) |
RedisFuture<StreamScanCursor> |
RedisKeysAsyncConnection.scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<KeyScanCursor<K>> |
RedisKeysAsyncConnection.scan(ScanArgs scanArgs)
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<KeyScanCursor<K>> |
AbstractRedisAsyncCommands.scan(ScanArgs scanArgs) |
RedisFuture<KeyScanCursor<K>> |
RedisKeysAsyncConnection.scan(ScanCursor scanCursor)
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<KeyScanCursor<K>> |
AbstractRedisAsyncCommands.scan(ScanCursor scanCursor) |
RedisFuture<KeyScanCursor<K>> |
RedisKeysAsyncConnection.scan(ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate the keys space.
|
RedisFuture<KeyScanCursor<K>> |
AbstractRedisAsyncCommands.scan(ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<Long> |
RedisSetsAsyncConnection.scard(K key)
Deprecated.
Get the number of members in a set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.scard(K key) |
RedisFuture<List<Boolean>> |
RedisScriptingAsyncConnection.scriptExists(String... digests)
Deprecated.
Check existence of scripts in the script cache.
|
RedisFuture<List<Boolean>> |
AbstractRedisAsyncCommands.scriptExists(String... digests) |
RedisFuture<String> |
RedisScriptingAsyncConnection.scriptFlush()
Deprecated.
Remove all the scripts from the script cache.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.scriptFlush() |
RedisFuture<String> |
RedisScriptingAsyncConnection.scriptKill()
Deprecated.
Kill the script currently in execution.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.scriptKill() |
RedisFuture<String> |
RedisScriptingAsyncConnection.scriptLoad(V script)
Deprecated.
Load the specified Lua script into the script cache.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.scriptLoad(V script) |
RedisFuture<Set<V>> |
RedisSetsAsyncConnection.sdiff(K... keys)
Deprecated.
Subtract multiple sets.
|
RedisFuture<Set<V>> |
AbstractRedisAsyncCommands.sdiff(K... keys) |
RedisFuture<Long> |
RedisSetsAsyncConnection.sdiff(ValueStreamingChannel<V> channel,
K... keys)
Deprecated.
Subtract multiple sets.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sdiff(ValueStreamingChannel<V> channel,
K... keys) |
RedisFuture<Long> |
RedisSetsAsyncConnection.sdiffstore(K destination,
K... keys)
Deprecated.
Subtract multiple sets and store the resulting set in a key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sdiffstore(K destination,
K... keys) |
RedisFuture<String> |
RedisSentinelAsyncConnection.set(K key,
String option,
V value)
Deprecated.
Multiple option / value pairs can be specified (or none at all).
|
RedisFuture<String> |
RedisStringsAsyncConnection.set(K key,
V value)
Deprecated.
Set the string value of a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.set(K key,
V value) |
RedisFuture<String> |
RedisStringsAsyncConnection.set(K key,
V value,
SetArgs setArgs)
Deprecated.
Set the string value of a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.set(K key,
V value,
SetArgs setArgs) |
RedisFuture<Long> |
RedisStringsAsyncConnection.setbit(K key,
long offset,
int value)
Deprecated.
Sets or clears the bit at offset in the string value stored at key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.setbit(K key,
long offset,
int value) |
RedisFuture<String> |
RedisStringsAsyncConnection.setex(K key,
long seconds,
V value)
Deprecated.
Set the value and expiration of a key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.setex(K key,
long seconds,
V value) |
RedisFuture<Boolean> |
RedisStringsAsyncConnection.setnx(K key,
V value)
Deprecated.
Set the value of a key, only if the key does not exist.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.setnx(K key,
V value) |
RedisFuture<Long> |
RedisStringsAsyncConnection.setrange(K key,
long offset,
V value)
Deprecated.
Overwrite part of a string at key starting at the specified offset.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.setrange(K key,
long offset,
V value) |
RedisFuture<Set<V>> |
RedisSetsAsyncConnection.sinter(K... keys)
Deprecated.
Intersect multiple sets.
|
RedisFuture<Set<V>> |
AbstractRedisAsyncCommands.sinter(K... keys) |
RedisFuture<Long> |
RedisSetsAsyncConnection.sinter(ValueStreamingChannel<V> channel,
K... keys)
Deprecated.
Intersect multiple sets.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sinter(ValueStreamingChannel<V> channel,
K... keys) |
RedisFuture<Long> |
RedisSetsAsyncConnection.sinterstore(K destination,
K... keys)
Deprecated.
Intersect multiple sets and store the resulting set in a key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sinterstore(K destination,
K... keys) |
RedisFuture<Boolean> |
RedisSetsAsyncConnection.sismember(K key,
V member)
Deprecated.
Determine if a given value is a member of a set.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.sismember(K key,
V member) |
RedisFuture<String> |
RedisServerAsyncConnection.slaveof(String host,
int port)
Deprecated.
Make the server a slave of another instance.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.slaveof(String host,
int port) |
RedisFuture<String> |
RedisServerAsyncConnection.slaveofNoOne()
Deprecated.
Promote server as master.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.slaveofNoOne() |
RedisFuture<List<Map<K,V>>> |
RedisSentinelAsyncConnection.slaves(K key)
Deprecated.
Provides a list of slaves for the master with the specified name.
|
RedisFuture<List<Object>> |
RedisServerAsyncConnection.slowlogGet()
Deprecated.
Read the slow log.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.slowlogGet() |
RedisFuture<List<Object>> |
RedisServerAsyncConnection.slowlogGet(int count)
Deprecated.
Read the slow log.
|
RedisFuture<List<Object>> |
AbstractRedisAsyncCommands.slowlogGet(int count) |
RedisFuture<Long> |
RedisServerAsyncConnection.slowlogLen()
Deprecated.
Obtaining the current length of the slow log.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.slowlogLen() |
RedisFuture<String> |
RedisServerAsyncConnection.slowlogReset()
Deprecated.
Resetting the slow log.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.slowlogReset() |
RedisFuture<Set<V>> |
RedisSetsAsyncConnection.smembers(K key)
Deprecated.
Get all the members in a set.
|
RedisFuture<Set<V>> |
AbstractRedisAsyncCommands.smembers(K key) |
RedisFuture<Long> |
RedisSetsAsyncConnection.smembers(ValueStreamingChannel<V> channel,
K key)
Deprecated.
Get all the members in a set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.smembers(ValueStreamingChannel<V> channel,
K key) |
RedisFuture<Boolean> |
RedisSetsAsyncConnection.smove(K source,
K destination,
V member)
Deprecated.
Move a member from one set to another.
|
RedisFuture<Boolean> |
AbstractRedisAsyncCommands.smove(K source,
K destination,
V member) |
RedisFuture<List<V>> |
RedisKeysAsyncConnection.sort(K key)
Deprecated.
Sort the elements in a list, set or sorted set.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.sort(K key) |
RedisFuture<List<V>> |
RedisKeysAsyncConnection.sort(K key,
SortArgs sortArgs)
Deprecated.
Sort the elements in a list, set or sorted set.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.sort(K key,
SortArgs sortArgs) |
RedisFuture<Long> |
RedisKeysAsyncConnection.sort(ValueStreamingChannel<V> channel,
K key)
Deprecated.
Sort the elements in a list, set or sorted set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sort(ValueStreamingChannel<V> channel,
K key) |
RedisFuture<Long> |
RedisKeysAsyncConnection.sort(ValueStreamingChannel<V> channel,
K key,
SortArgs sortArgs)
Deprecated.
Sort the elements in a list, set or sorted set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sort(ValueStreamingChannel<V> channel,
K key,
SortArgs sortArgs) |
RedisFuture<Long> |
RedisKeysAsyncConnection.sortStore(K key,
SortArgs sortArgs,
K destination)
Deprecated.
Sort the elements in a list, set or sorted set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sortStore(K key,
SortArgs sortArgs,
K destination) |
RedisFuture<V> |
RedisSetsAsyncConnection.spop(K key)
Deprecated.
Remove and return a random member from a set.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.spop(K key) |
RedisFuture<V> |
RedisSetsAsyncConnection.srandmember(K key)
Deprecated.
Get one or multiple random members from a set.
|
RedisFuture<V> |
AbstractRedisAsyncCommands.srandmember(K key) |
RedisFuture<Set<V>> |
RedisSetsAsyncConnection.srandmember(K key,
long count)
Deprecated.
Get one or multiple random members from a set.
|
RedisFuture<Set<V>> |
AbstractRedisAsyncCommands.srandmember(K key,
long count) |
RedisFuture<Long> |
RedisSetsAsyncConnection.srandmember(ValueStreamingChannel<V> channel,
K key,
long count)
Deprecated.
Get one or multiple random members from a set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.srandmember(ValueStreamingChannel<V> channel,
K key,
long count) |
RedisFuture<Long> |
RedisSetsAsyncConnection.srem(K key,
V... members)
Deprecated.
Remove one or more members from a set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.srem(K key,
V... members) |
RedisFuture<ValueScanCursor<V>> |
RedisSetsAsyncConnection.sscan(K key)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<ValueScanCursor<V>> |
AbstractRedisAsyncCommands.sscan(K key) |
RedisFuture<ValueScanCursor<V>> |
RedisSetsAsyncConnection.sscan(K key,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<ValueScanCursor<V>> |
AbstractRedisAsyncCommands.sscan(K key,
ScanArgs scanArgs) |
RedisFuture<ValueScanCursor<V>> |
RedisSetsAsyncConnection.sscan(K key,
ScanCursor scanCursor)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<ValueScanCursor<V>> |
AbstractRedisAsyncCommands.sscan(K key,
ScanCursor scanCursor) |
RedisFuture<ValueScanCursor<V>> |
RedisSetsAsyncConnection.sscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<ValueScanCursor<V>> |
AbstractRedisAsyncCommands.sscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<StreamScanCursor> |
RedisSetsAsyncConnection.sscan(ValueStreamingChannel<V> channel,
K key)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key) |
RedisFuture<StreamScanCursor> |
RedisSetsAsyncConnection.sscan(ValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs) |
RedisFuture<StreamScanCursor> |
RedisSetsAsyncConnection.sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor) |
RedisFuture<StreamScanCursor> |
RedisSetsAsyncConnection.sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<Long> |
RedisStringsAsyncConnection.strlen(K key)
Deprecated.
Get the length of the value stored in a key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.strlen(K key) |
RedisFuture<Set<V>> |
RedisSetsAsyncConnection.sunion(K... keys)
Deprecated.
Add multiple sets.
|
RedisFuture<Set<V>> |
AbstractRedisAsyncCommands.sunion(K... keys) |
RedisFuture<Long> |
RedisSetsAsyncConnection.sunion(ValueStreamingChannel<V> channel,
K... keys)
Deprecated.
Add multiple sets.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sunion(ValueStreamingChannel<V> channel,
K... keys) |
RedisFuture<Long> |
RedisSetsAsyncConnection.sunionstore(K destination,
K... keys)
Deprecated.
Add multiple sets and store the resulting set in a key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sunionstore(K destination,
K... keys) |
RedisFuture<String> |
RedisServerAsyncConnection.sync()
Deprecated.
Internal command used for replication.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.sync() |
RedisFuture<List<V>> |
RedisServerAsyncConnection.time()
Deprecated.
Return the current server time.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.time() |
RedisFuture<Long> |
RedisKeysAsyncConnection.ttl(K key)
Deprecated.
Get the time to live for a key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.ttl(K key) |
RedisFuture<String> |
RedisKeysAsyncConnection.type(K key)
Deprecated.
Determine the type stored at key.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.type(K key) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.unlink(Iterable<K> keys) |
RedisFuture<Long> |
RedisKeysAsyncConnection.unlink(K... keys)
Deprecated.
Unlink one or more keys (non blocking DEL).
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.unlink(K... keys) |
RedisFuture<String> |
BaseRedisAsyncConnection.unwatch()
Deprecated.
Forget about all watched keys.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.unwatch() |
RedisFuture<Long> |
BaseRedisAsyncConnection.waitForReplication(int replicas,
long timeout)
Deprecated.
Wait for replication.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.waitForReplication(int replicas,
long timeout) |
RedisFuture<String> |
BaseRedisAsyncConnection.watch(K... keys)
Deprecated.
Watch the given keys to determine execution of the MULTI/EXEC block.
|
RedisFuture<String> |
AbstractRedisAsyncCommands.watch(K... keys) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zadd(K key,
double score,
V member)
Deprecated.
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zadd(K key,
double score,
V member) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zadd(K key,
Object... scoresAndValues)
Deprecated.
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zadd(K key,
Object... scoresAndValues) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Deprecated.
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Deprecated.
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues) |
RedisFuture<Double> |
RedisSortedSetsAsyncConnection.zaddincr(K key,
double score,
V member)
Deprecated.
ZADD acts like ZINCRBY
|
RedisFuture<Double> |
AbstractRedisAsyncCommands.zaddincr(K key,
double score,
V member) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zcard(K key)
Deprecated.
Get the number of members in a sorted set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zcard(K key) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zcount(K key,
double min,
double max)
Deprecated.
Count the members in a sorted set with scores within the given values.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zcount(K key,
double min,
double max) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zcount(K key,
String min,
String max)
Deprecated.
Count the members in a sorted set with scores within the given values.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zcount(K key,
String min,
String max) |
RedisFuture<Double> |
RedisSortedSetsAsyncConnection.zincrby(K key,
double amount,
K member)
Deprecated.
Increment the score of a member in a sorted set.
|
RedisFuture<Double> |
AbstractRedisAsyncCommands.zincrby(K key,
double amount,
K member) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zinterstore(K destination,
K... keys)
Deprecated.
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zinterstore(K destination,
K... keys) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Deprecated.
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zlexcount(K key,
String min,
String max)
Deprecated.
Count the number of members in a sorted set between a given lexicographical range.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zlexcount(K key,
String min,
String max) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrange(K key,
long start,
long stop)
Deprecated.
Return a range of members in a sorted set, by index.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrange(K key,
long start,
long stop) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
Stream over a range of members in a sorted set, by index.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrangebylex(K key,
String min,
String max)
Deprecated.
Return a range of members in a sorted set, by lexicographical range.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrangebylex(K key,
String min,
String max) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrangebylex(K key,
String min,
String max,
long offset,
long count)
Deprecated.
Return a range of members in a sorted set, by lexicographical range.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrangebylex(K key,
String min,
String max,
long offset,
long count) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrangebyscore(K key,
double min,
double max)
Deprecated.
Return a range of members in a sorted set, by score.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrangebyscore(K key,
double min,
double max) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrangebyscore(K key,
double min,
double max,
long offset,
long count)
Deprecated.
Return a range of members in a sorted set, by score.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrangebyscore(K key,
double min,
double max,
long offset,
long count) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrangebyscore(K key,
String min,
String max)
Deprecated.
Return a range of members in a sorted set, by score.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrangebyscore(K key,
String min,
String max) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrangebyscore(K key,
String min,
String max,
long offset,
long count)
Deprecated.
Return a range of members in a sorted set, by score.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrangebyscore(K key,
String min,
String max,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max)
Deprecated.
Stream over a range of members in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
Deprecated.
Stream over a range of members in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max)
Deprecated.
Stream over a range of members in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
Deprecated.
Stream over a range of members in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(K key,
double min,
double max)
Deprecated.
Return a range of members with score in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(K key,
double min,
double max) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
Deprecated.
Return a range of members with score in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(K key,
String min,
String max)
Deprecated.
Return a range of members with score in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(K key,
String min,
String max) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
Deprecated.
Return a range of members with score in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max)
Deprecated.
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
Deprecated.
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max)
Deprecated.
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
Deprecated.
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrangeWithScores(K key,
long start,
long stop)
Deprecated.
Return a range of members in a sorted set, by index.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrangeWithScores(K key,
long start,
long stop) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
Stream over a range of members with scores in a sorted set, by index.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrank(K key,
V member)
Deprecated.
Determine the index of a member in a sorted set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrank(K key,
V member) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrem(K key,
V... members)
Deprecated.
Remove one or more members from a sorted set.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrem(K key,
V... members) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zremrangebylex(K key,
String min,
String max)
Deprecated.
Remove all members in a sorted set between the given lexicographical range.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zremrangebylex(K key,
String min,
String max) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zremrangebyrank(K key,
long start,
long stop)
Deprecated.
Remove all members in a sorted set within the given indexes.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zremrangebyrank(K key,
long start,
long stop) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zremrangebyscore(K key,
double min,
double max)
Deprecated.
Remove all members in a sorted set within the given scores.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zremrangebyscore(K key,
double min,
double max) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zremrangebyscore(K key,
String min,
String max)
Deprecated.
Remove all members in a sorted set within the given scores.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zremrangebyscore(K key,
String min,
String max) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrevrange(K key,
long start,
long stop)
Deprecated.
Return a range of members in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrevrange(K key,
long start,
long stop) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
Stream over a range of members in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(K key,
double max,
double min)
Deprecated.
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrevrangebyscore(K key,
double max,
double min) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(K key,
double max,
double min,
long offset,
long count)
Deprecated.
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrevrangebyscore(K key,
double max,
double min,
long offset,
long count) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(K key,
String max,
String min)
Deprecated.
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrevrangebyscore(K key,
String max,
String min) |
RedisFuture<List<V>> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(K key,
String max,
String min,
long offset,
long count)
Deprecated.
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.zrevrangebyscore(K key,
String max,
String min,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min)
Deprecated.
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Deprecated.
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min)
Deprecated.
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Deprecated.
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(K key,
double max,
double min)
Deprecated.
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(K key,
double max,
double min) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count)
Deprecated.
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(K key,
String max,
String min)
Deprecated.
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(K key,
String max,
String min) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count)
Deprecated.
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min)
Deprecated.
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Deprecated.
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min)
Deprecated.
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Deprecated.
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count) |
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetsAsyncConnection.zrevrangeWithScores(K key,
long start,
long stop)
Deprecated.
Return a range of members with scores in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
AbstractRedisAsyncCommands.zrevrangeWithScores(K key,
long start,
long stop) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
Stream over a range of members with scores in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zrevrank(K key,
V member)
Deprecated.
Determine the index of a member in a sorted set, with scores ordered from high to low.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zrevrank(K key,
V member) |
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetsAsyncConnection.zscan(K key)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<ScoredValueScanCursor<V>> |
AbstractRedisAsyncCommands.zscan(K key) |
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetsAsyncConnection.zscan(K key,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<ScoredValueScanCursor<V>> |
AbstractRedisAsyncCommands.zscan(K key,
ScanArgs scanArgs) |
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetsAsyncConnection.zscan(K key,
ScanCursor scanCursor)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<ScoredValueScanCursor<V>> |
AbstractRedisAsyncCommands.zscan(K key,
ScanCursor scanCursor) |
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetsAsyncConnection.zscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<ScoredValueScanCursor<V>> |
AbstractRedisAsyncCommands.zscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<StreamScanCursor> |
RedisSortedSetsAsyncConnection.zscan(ScoredValueStreamingChannel<V> channel,
K key)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key) |
RedisFuture<StreamScanCursor> |
RedisSortedSetsAsyncConnection.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs) |
RedisFuture<StreamScanCursor> |
RedisSortedSetsAsyncConnection.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor) |
RedisFuture<StreamScanCursor> |
RedisSortedSetsAsyncConnection.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
AbstractRedisAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs) |
RedisFuture<Double> |
RedisSortedSetsAsyncConnection.zscore(K key,
V member)
Deprecated.
Get the score associated with the given member in a sorted set.
|
RedisFuture<Double> |
AbstractRedisAsyncCommands.zscore(K key,
V member) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zunionstore(K destination,
K... keys)
Deprecated.
Add multiple sorted sets and store the resulting sorted set in a new key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zunionstore(K destination,
K... keys) |
RedisFuture<Long> |
RedisSortedSetsAsyncConnection.zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Deprecated.
Add multiple sorted sets and store the resulting sorted set in a new key.
|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
LettuceFutures.await(long timeout,
TimeUnit unit,
RedisFuture<T> cmd)
Deprecated.
The method name does not reflect what the method is doing, therefore it is deprecated. Use
LettuceFutures.awaitOrCancel(RedisFuture, long, TimeUnit) instead. The semantics did not change and
LettuceFutures.awaitOrCancel(RedisFuture, long, TimeUnit) simply calls this method. |
static <T> T |
LettuceFutures.awaitOrCancel(RedisFuture<T> cmd,
long timeout,
TimeUnit unit)
Wait until futures are complete or the supplied timeout is reached.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<Long> |
RedisStringAsyncCommands.append(K key,
V value)
Append a value to a key.
|
RedisFuture<String> |
RedisServerAsyncCommands.bgrewriteaof()
Asynchronously rewrite the append-only file.
|
RedisFuture<String> |
RedisServerAsyncCommands.bgsave()
Asynchronously save the dataset to disk.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitcount(K key)
Count set bits in a string.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitcount(K key,
long start,
long end)
Count set bits in a string.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitopAnd(K destination,
K... keys)
Perform bitwise AND between strings.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitopNot(K destination,
K source)
Perform bitwise NOT between strings.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitopOr(K destination,
K... keys)
Perform bitwise OR between strings.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitopXor(K destination,
K... keys)
Perform bitwise XOR between strings.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitpos(K key,
boolean state)
Find first bit set or clear in a string.
|
RedisFuture<Long> |
RedisStringAsyncCommands.bitpos(K key,
boolean state,
long start,
long end)
Find first bit set or clear in a string.
|
RedisFuture<KeyValue<K,V>> |
RedisListAsyncCommands.blpop(long timeout,
K... keys)
Remove and get the first element in a list, or block until one is available.
|
RedisFuture<KeyValue<K,V>> |
RedisListAsyncCommands.brpop(long timeout,
K... keys)
Remove and get the last element in a list, or block until one is available.
|
RedisFuture<V> |
RedisListAsyncCommands.brpoplpush(long timeout,
K source,
K destination)
Pop a value from a list, push it to another list and return it; or block until one is available.
|
RedisFuture<K> |
RedisServerAsyncCommands.clientGetname()
Get the current connection name.
|
RedisFuture<Long> |
RedisServerAsyncCommands.clientKill(KillArgs killArgs)
Kill connections of clients which are filtered by
killArgs |
RedisFuture<String> |
RedisServerAsyncCommands.clientKill(String addr)
Kill the connection of a client identified by ip:port.
|
RedisFuture<String> |
RedisServerAsyncCommands.clientList()
Get the list of client connections.
|
RedisFuture<String> |
RedisServerAsyncCommands.clientPause(long timeout)
Stop processing commands from clients for some time.
|
RedisFuture<String> |
RedisServerAsyncCommands.clientSetname(K name)
Set the current connection name.
|
RedisFuture<List<Object>> |
RedisServerAsyncCommands.command()
Returns an array reply of details about all Redis commands.
|
RedisFuture<Long> |
RedisServerAsyncCommands.commandCount()
Get total number of Redis commands.
|
RedisFuture<List<Object>> |
RedisServerAsyncCommands.commandInfo(CommandType... commands)
Returns an array reply of details about the requested commands.
|
RedisFuture<List<Object>> |
RedisServerAsyncCommands.commandInfo(String... commands)
Returns an array reply of details about the requested commands.
|
RedisFuture<List<String>> |
RedisServerAsyncCommands.configGet(String parameter)
Get the value of a configuration parameter.
|
RedisFuture<String> |
RedisServerAsyncCommands.configResetstat()
Reset the stats returned by INFO.
|
RedisFuture<String> |
RedisServerAsyncCommands.configRewrite()
Rewrite the configuration file with the in memory configuration.
|
RedisFuture<String> |
RedisServerAsyncCommands.configSet(String parameter,
String value)
Set a configuration parameter to the given value.
|
RedisFuture<Long> |
RedisServerAsyncCommands.dbsize()
Return the number of keys in the selected database.
|
RedisFuture<String> |
RedisServerAsyncCommands.debugCrashAndRecover(Long delay)
Crash and recover
|
RedisFuture<String> |
RedisServerAsyncCommands.debugHtstats(int db)
Get debugging information about the internal hash-table state.
|
RedisFuture<String> |
RedisServerAsyncCommands.debugObject(K key)
Get debugging information about a key.
|
RedisFuture<String> |
RedisServerAsyncCommands.debugReload()
Save RDB, clear the database and reload RDB.
|
RedisFuture<String> |
RedisServerAsyncCommands.debugRestart(Long delay)
Restart the server gracefully.
|
RedisFuture<String> |
RedisServerAsyncCommands.debugSdslen(K key)
Get debugging information about the internal SDS length.
|
RedisFuture<Long> |
RedisStringAsyncCommands.decr(K key)
Decrement the integer value of a key by one.
|
RedisFuture<Long> |
RedisStringAsyncCommands.decrby(K key,
long amount)
Decrement the integer value of a key by the given number.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.del(K... keys)
Delete one or more keys.
|
RedisFuture<String> |
RedisTransactionalAsyncCommands.discard()
Discard all commands issued after MULTI.
|
RedisFuture<byte[]> |
RedisKeyAsyncCommands.dump(K key)
Return a serialized version of the value stored at the specified key.
|
RedisFuture<V> |
BaseRedisAsyncCommands.echo(V msg)
Echo the given string.
|
<T> RedisFuture<T> |
RedisScriptingAsyncCommands.eval(String script,
ScriptOutputType type,
K... keys)
Execute a Lua script server side.
|
<T> RedisFuture<T> |
RedisScriptingAsyncCommands.eval(String script,
ScriptOutputType type,
K[] keys,
V... values)
Execute a Lua script server side.
|
<T> RedisFuture<T> |
RedisScriptingAsyncCommands.evalsha(String digest,
ScriptOutputType type,
K... keys)
Evaluates a script cached on the server side by its SHA1 digest
|
<T> RedisFuture<T> |
RedisScriptingAsyncCommands.evalsha(String digest,
ScriptOutputType type,
K[] keys,
V... values)
Execute a Lua script server side.
|
RedisFuture<List<Object>> |
RedisTransactionalAsyncCommands.exec()
Execute all commands issued after MULTI.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.exists(K... keys)
Determine how many keys exist.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expire(K key,
long seconds)
Set a key's time to live in seconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expireat(K key,
Date timestamp)
Set the expiration for a key as a UNIX timestamp.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.expireat(K key,
long timestamp)
Set the expiration for a key as a UNIX timestamp.
|
RedisFuture<String> |
RedisServerAsyncCommands.flushall()
Remove all keys from all databases.
|
RedisFuture<String> |
RedisServerAsyncCommands.flushallAsync()
Remove all keys asynchronously from all databases.
|
RedisFuture<String> |
RedisServerAsyncCommands.flushdb()
Remove all keys from the current database.
|
RedisFuture<String> |
RedisServerAsyncCommands.flushdbAsync()
Remove all keys asynchronously from the current database.
|
RedisFuture<Long> |
RedisGeoAsyncCommands.geoadd(K key,
double longitude,
double latitude,
V member)
Single geo add.
|
RedisFuture<Long> |
RedisGeoAsyncCommands.geoadd(K key,
Object... lngLatMember)
Multi geo add.
|
RedisFuture<Double> |
RedisGeoAsyncCommands.geodist(K key,
V from,
V to,
GeoArgs.Unit unit)
Retrieve distance between points
from and to . |
RedisFuture<List<GeoCoordinates>> |
RedisGeoAsyncCommands.geopos(K key,
V... members)
Get geo coordinates for the
members . |
RedisFuture<Set<V>> |
RedisGeoAsyncCommands.georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit)
Retrieve members selected by distance with the center of
longitude and latitude . |
RedisFuture<List<GeoWithin<V>>> |
RedisGeoAsyncCommands.georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs)
Retrieve members selected by distance with the center of
longitude and latitude . |
RedisFuture<Set<V>> |
RedisGeoAsyncCommands.georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit)
Retrieve members selected by distance with the center of
member . |
RedisFuture<List<GeoWithin<V>>> |
RedisGeoAsyncCommands.georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs)
Retrieve members selected by distance with the center of
member . |
RedisFuture<V> |
RedisStringAsyncCommands.get(K key)
Get the value of a key.
|
RedisFuture<Long> |
RedisStringAsyncCommands.getbit(K key,
long offset)
Returns the bit value at offset in the string value stored at key.
|
RedisFuture<V> |
RedisStringAsyncCommands.getrange(K key,
long start,
long end)
Get a substring of the string stored at a key.
|
RedisFuture<V> |
RedisStringAsyncCommands.getset(K key,
V value)
Set the string value of a key and return its old value.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hdel(K key,
K... fields)
Delete one or more hash fields.
|
RedisFuture<Boolean> |
RedisHashAsyncCommands.hexists(K key,
K field)
Determine if a hash field exists.
|
RedisFuture<V> |
RedisHashAsyncCommands.hget(K key,
K field)
Get the value of a hash field.
|
RedisFuture<Map<K,V>> |
RedisHashAsyncCommands.hgetall(K key)
Get all the fields and values in a hash.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hgetall(KeyValueStreamingChannel<K,V> channel,
K key)
Stream over all the fields and values in a hash.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hincrby(K key,
K field,
long amount)
Increment the integer value of a hash field by the given number.
|
RedisFuture<Double> |
RedisHashAsyncCommands.hincrbyfloat(K key,
K field,
double amount)
Increment the float value of a hash field by the given amount.
|
RedisFuture<List<K>> |
RedisHashAsyncCommands.hkeys(K key)
Get all the fields in a hash.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hkeys(KeyStreamingChannel<K> channel,
K key)
Stream over all the fields in a hash.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hlen(K key)
Get the number of fields in a hash.
|
RedisFuture<List<V>> |
RedisHashAsyncCommands.hmget(K key,
K... fields)
Get the values of all the given hash fields.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hmget(ValueStreamingChannel<V> channel,
K key,
K... fields)
Stream over the values of all the given hash fields.
|
RedisFuture<String> |
RedisHashAsyncCommands.hmset(K key,
Map<K,V> map)
Set multiple hash fields to multiple values.
|
RedisFuture<MapScanCursor<K,V>> |
RedisHashAsyncCommands.hscan(K key)
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
RedisHashAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key)
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
RedisHashAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
RedisHashAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate hash fields and associated values.
|
RedisFuture<StreamScanCursor> |
RedisHashAsyncCommands.hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
RedisFuture<MapScanCursor<K,V>> |
RedisHashAsyncCommands.hscan(K key,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
RedisFuture<MapScanCursor<K,V>> |
RedisHashAsyncCommands.hscan(K key,
ScanCursor scanCursor)
Incrementally iterate hash fields and associated values.
|
RedisFuture<MapScanCursor<K,V>> |
RedisHashAsyncCommands.hscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
RedisFuture<Boolean> |
RedisHashAsyncCommands.hset(K key,
K field,
V value)
Set the string value of a hash field.
|
RedisFuture<Boolean> |
RedisHashAsyncCommands.hsetnx(K key,
K field,
V value)
Set the value of a hash field, only if the field does not exist.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hstrlen(K key,
K field)
Get the string length of the field value in a hash.
|
RedisFuture<List<V>> |
RedisHashAsyncCommands.hvals(K key)
Get all the values in a hash.
|
RedisFuture<Long> |
RedisHashAsyncCommands.hvals(ValueStreamingChannel<V> channel,
K key)
Stream over all the values in a hash.
|
RedisFuture<Long> |
RedisStringAsyncCommands.incr(K key)
Increment the integer value of a key by one.
|
RedisFuture<Long> |
RedisStringAsyncCommands.incrby(K key,
long amount)
Increment the integer value of a key by the given amount.
|
RedisFuture<Double> |
RedisStringAsyncCommands.incrbyfloat(K key,
double amount)
Increment the float value of a key by the given amount.
|
RedisFuture<String> |
RedisServerAsyncCommands.info()
Get information and statistics about the server.
|
RedisFuture<String> |
RedisServerAsyncCommands.info(String section)
Get information and statistics about the server.
|
RedisFuture<List<K>> |
RedisKeyAsyncCommands.keys(K pattern)
Find all keys matching the given pattern.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.keys(KeyStreamingChannel<K> channel,
K pattern)
Find all keys matching the given pattern.
|
RedisFuture<Date> |
RedisServerAsyncCommands.lastsave()
Get the UNIX time stamp of the last successful save to disk.
|
RedisFuture<V> |
RedisListAsyncCommands.lindex(K key,
long index)
Get an element from a list by its index.
|
RedisFuture<Long> |
RedisListAsyncCommands.linsert(K key,
boolean before,
V pivot,
V value)
Insert an element before or after another element in a list.
|
RedisFuture<Long> |
RedisListAsyncCommands.llen(K key)
Get the length of a list.
|
RedisFuture<V> |
RedisListAsyncCommands.lpop(K key)
Remove and get the first element in a list.
|
RedisFuture<Long> |
RedisListAsyncCommands.lpush(K key,
V... values)
Prepend one or multiple values to a list.
|
RedisFuture<Long> |
RedisListAsyncCommands.lpushx(K key,
V value)
Prepend a value to a list, only if the list exists.
|
RedisFuture<List<V>> |
RedisListAsyncCommands.lrange(K key,
long start,
long stop)
Get a range of elements from a list.
|
RedisFuture<Long> |
RedisListAsyncCommands.lrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Get a range of elements from a list.
|
RedisFuture<Long> |
RedisListAsyncCommands.lrem(K key,
long count,
V value)
Remove elements from a list.
|
RedisFuture<String> |
RedisListAsyncCommands.lset(K key,
long index,
V value)
Set the value of an element in a list by its index.
|
RedisFuture<String> |
RedisListAsyncCommands.ltrim(K key,
long start,
long stop)
Trim a list to the specified range.
|
RedisFuture<List<V>> |
RedisStringAsyncCommands.mget(K... keys)
Get the values of all the given keys.
|
RedisFuture<Long> |
RedisStringAsyncCommands.mget(ValueStreamingChannel<V> channel,
K... keys)
Stream over the values of all the given keys.
|
RedisFuture<String> |
RedisKeyAsyncCommands.migrate(String host,
int port,
K key,
int db,
long timeout)
Atomically transfer a key from a Redis instance to another one.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.move(K key,
int db)
Move a key to another database.
|
RedisFuture<String> |
RedisStringAsyncCommands.mset(Map<K,V> map)
Set multiple keys to multiple values.
|
RedisFuture<Boolean> |
RedisStringAsyncCommands.msetnx(Map<K,V> map)
Set multiple keys to multiple values, only if none of the keys exist.
|
RedisFuture<String> |
RedisTransactionalAsyncCommands.multi()
Mark the start of a transaction block.
|
RedisFuture<String> |
RedisKeyAsyncCommands.objectEncoding(K key)
returns the kind of internal representation used in order to store the value associated with a key.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.objectIdletime(K key)
returns the number of seconds since the object stored at the specified key is idle (not requested by read or write
operations).
|
RedisFuture<Long> |
RedisKeyAsyncCommands.objectRefcount(K key)
returns the number of references of the value associated with the specified key.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.persist(K key)
Remove the expiration from a key.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpire(K key,
long milliseconds)
Set a key's time to live in milliseconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpireat(K key,
Date timestamp)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.pexpireat(K key,
long timestamp)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
RedisFuture<Long> |
RedisHLLAsyncCommands.pfadd(K key,
V... values)
Adds the specified elements to the specified HyperLogLog.
|
RedisFuture<Long> |
RedisHLLAsyncCommands.pfcount(K... keys)
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
RedisFuture<String> |
RedisHLLAsyncCommands.pfmerge(K destkey,
K... sourcekeys)
Merge N different HyperLogLogs into a single one.
|
RedisFuture<String> |
BaseRedisAsyncCommands.ping()
Ping the server.
|
RedisFuture<String> |
RedisStringAsyncCommands.psetex(K key,
long milliseconds,
V value)
Set the value and expiration in milliseconds of a key.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.pttl(K key)
Get the time to live for a key in milliseconds.
|
RedisFuture<Long> |
BaseRedisAsyncCommands.publish(K channel,
V message)
Post a message to a channel.
|
RedisFuture<List<K>> |
BaseRedisAsyncCommands.pubsubChannels()
Lists the currently *active channels*.
|
RedisFuture<List<K>> |
BaseRedisAsyncCommands.pubsubChannels(K channel)
Lists the currently *active channels*.
|
RedisFuture<Long> |
BaseRedisAsyncCommands.pubsubNumpat()
Returns the number of subscriptions to patterns.
|
RedisFuture<Map<K,Long>> |
BaseRedisAsyncCommands.pubsubNumsub(K... channels)
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels.
|
RedisFuture<String> |
BaseRedisAsyncCommands.quit()
Close the connection.
|
RedisFuture<V> |
RedisKeyAsyncCommands.randomkey()
Return a random key from the keyspace.
|
RedisFuture<String> |
BaseRedisAsyncCommands.readOnly()
Switch connection to Read-Only mode when connecting to a cluster.
|
RedisFuture<String> |
BaseRedisAsyncCommands.readWrite()
Switch connection to Read-Write mode (default) when connecting to a cluster.
|
RedisFuture<String> |
RedisKeyAsyncCommands.rename(K key,
K newKey)
Rename a key.
|
RedisFuture<Boolean> |
RedisKeyAsyncCommands.renamenx(K key,
K newKey)
Rename a key, only if the new key does not exist.
|
RedisFuture<String> |
RedisKeyAsyncCommands.restore(K key,
long ttl,
byte[] value)
Create a key using the provided serialized value, previously obtained using DUMP.
|
RedisFuture<List<Object>> |
BaseRedisAsyncCommands.role()
Return the role of the instance in the context of replication.
|
RedisFuture<V> |
RedisListAsyncCommands.rpop(K key)
Remove and get the last element in a list.
|
RedisFuture<V> |
RedisListAsyncCommands.rpoplpush(K source,
K destination)
Remove the last element in a list, append it to another list and return it.
|
RedisFuture<Long> |
RedisListAsyncCommands.rpush(K key,
V... values)
Append one or multiple values to a list.
|
RedisFuture<Long> |
RedisListAsyncCommands.rpushx(K key,
V value)
Append a value to a list, only if the list exists.
|
RedisFuture<Long> |
RedisSetAsyncCommands.sadd(K key,
V... members)
Add one or more members to a set.
|
RedisFuture<String> |
RedisServerAsyncCommands.save()
Synchronously save the dataset to disk.
|
RedisFuture<KeyScanCursor<K>> |
RedisKeyAsyncCommands.scan()
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
RedisKeyAsyncCommands.scan(KeyStreamingChannel<K> channel)
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
RedisKeyAsyncCommands.scan(KeyStreamingChannel<K> channel,
ScanArgs scanArgs)
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
RedisKeyAsyncCommands.scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor)
Incrementally iterate the keys space.
|
RedisFuture<StreamScanCursor> |
RedisKeyAsyncCommands.scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate the keys space.
|
RedisFuture<KeyScanCursor<K>> |
RedisKeyAsyncCommands.scan(ScanArgs scanArgs)
Incrementally iterate the keys space.
|
RedisFuture<KeyScanCursor<K>> |
RedisKeyAsyncCommands.scan(ScanCursor scanCursor)
Incrementally iterate the keys space.
|
RedisFuture<KeyScanCursor<K>> |
RedisKeyAsyncCommands.scan(ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate the keys space.
|
RedisFuture<Long> |
RedisSetAsyncCommands.scard(K key)
Get the number of members in a set.
|
RedisFuture<List<Boolean>> |
RedisScriptingAsyncCommands.scriptExists(String... digests)
Check existence of scripts in the script cache.
|
RedisFuture<String> |
RedisScriptingAsyncCommands.scriptFlush()
Remove all the scripts from the script cache.
|
RedisFuture<String> |
RedisScriptingAsyncCommands.scriptKill()
Kill the script currently in execution.
|
RedisFuture<String> |
RedisScriptingAsyncCommands.scriptLoad(V script)
Load the specified Lua script into the script cache.
|
RedisFuture<Set<V>> |
RedisSetAsyncCommands.sdiff(K... keys)
Subtract multiple sets.
|
RedisFuture<Long> |
RedisSetAsyncCommands.sdiff(ValueStreamingChannel<V> channel,
K... keys)
Subtract multiple sets.
|
RedisFuture<Long> |
RedisSetAsyncCommands.sdiffstore(K destination,
K... keys)
Subtract multiple sets and store the resulting set in a key.
|
RedisFuture<String> |
RedisStringAsyncCommands.set(K key,
V value)
Set the string value of a key.
|
RedisFuture<String> |
RedisStringAsyncCommands.set(K key,
V value,
SetArgs setArgs)
Set the string value of a key.
|
RedisFuture<Long> |
RedisStringAsyncCommands.setbit(K key,
long offset,
int value)
Sets or clears the bit at offset in the string value stored at key.
|
RedisFuture<String> |
RedisStringAsyncCommands.setex(K key,
long seconds,
V value)
Set the value and expiration of a key.
|
RedisFuture<Boolean> |
RedisStringAsyncCommands.setnx(K key,
V value)
Set the value of a key, only if the key does not exist.
|
RedisFuture<Long> |
RedisStringAsyncCommands.setrange(K key,
long offset,
V value)
Overwrite part of a string at key starting at the specified offset.
|
RedisFuture<Set<V>> |
RedisSetAsyncCommands.sinter(K... keys)
Intersect multiple sets.
|
RedisFuture<Long> |
RedisSetAsyncCommands.sinter(ValueStreamingChannel<V> channel,
K... keys)
Intersect multiple sets.
|
RedisFuture<Long> |
RedisSetAsyncCommands.sinterstore(K destination,
K... keys)
Intersect multiple sets and store the resulting set in a key.
|
RedisFuture<Boolean> |
RedisSetAsyncCommands.sismember(K key,
V member)
Determine if a given value is a member of a set.
|
RedisFuture<String> |
RedisServerAsyncCommands.slaveof(String host,
int port)
Make the server a slave of another instance, or promote it as master.
|
RedisFuture<String> |
RedisServerAsyncCommands.slaveofNoOne()
Promote server as master.
|
RedisFuture<List<Object>> |
RedisServerAsyncCommands.slowlogGet()
Read the slow log.
|
RedisFuture<List<Object>> |
RedisServerAsyncCommands.slowlogGet(int count)
Read the slow log.
|
RedisFuture<Long> |
RedisServerAsyncCommands.slowlogLen()
Obtaining the current length of the slow log.
|
RedisFuture<String> |
RedisServerAsyncCommands.slowlogReset()
Resetting the slow log.
|
RedisFuture<Set<V>> |
RedisSetAsyncCommands.smembers(K key)
Get all the members in a set.
|
RedisFuture<Long> |
RedisSetAsyncCommands.smembers(ValueStreamingChannel<V> channel,
K key)
Get all the members in a set.
|
RedisFuture<Boolean> |
RedisSetAsyncCommands.smove(K source,
K destination,
V member)
Move a member from one set to another.
|
RedisFuture<List<V>> |
RedisKeyAsyncCommands.sort(K key)
Sort the elements in a list, set or sorted set.
|
RedisFuture<List<V>> |
RedisKeyAsyncCommands.sort(K key,
SortArgs sortArgs)
Sort the elements in a list, set or sorted set.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.sort(ValueStreamingChannel<V> channel,
K key)
Sort the elements in a list, set or sorted set.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.sort(ValueStreamingChannel<V> channel,
K key,
SortArgs sortArgs)
Sort the elements in a list, set or sorted set.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.sortStore(K key,
SortArgs sortArgs,
K destination)
Sort the elements in a list, set or sorted set.
|
RedisFuture<V> |
RedisSetAsyncCommands.spop(K key)
Remove and return a random member from a set.
|
RedisFuture<V> |
RedisSetAsyncCommands.srandmember(K key)
Get one or multiple random members from a set.
|
RedisFuture<Set<V>> |
RedisSetAsyncCommands.srandmember(K key,
long count)
Get one or multiple random members from a set.
|
RedisFuture<Long> |
RedisSetAsyncCommands.srandmember(ValueStreamingChannel<V> channel,
K key,
long count)
Get one or multiple random members from a set.
|
RedisFuture<Long> |
RedisSetAsyncCommands.srem(K key,
V... members)
Remove one or more members from a set.
|
RedisFuture<ValueScanCursor<V>> |
RedisSetAsyncCommands.sscan(K key)
Incrementally iterate Set elements.
|
RedisFuture<ValueScanCursor<V>> |
RedisSetAsyncCommands.sscan(K key,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
RedisFuture<ValueScanCursor<V>> |
RedisSetAsyncCommands.sscan(K key,
ScanCursor scanCursor)
Incrementally iterate Set elements.
|
RedisFuture<ValueScanCursor<V>> |
RedisSetAsyncCommands.sscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
RedisSetAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key)
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
RedisSetAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
RedisSetAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate Set elements.
|
RedisFuture<StreamScanCursor> |
RedisSetAsyncCommands.sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
RedisFuture<Long> |
RedisStringAsyncCommands.strlen(K key)
Get the length of the value stored in a key.
|
RedisFuture<Set<V>> |
RedisSetAsyncCommands.sunion(K... keys)
Add multiple sets.
|
RedisFuture<Long> |
RedisSetAsyncCommands.sunion(ValueStreamingChannel<V> channel,
K... keys)
Add multiple sets.
|
RedisFuture<Long> |
RedisSetAsyncCommands.sunionstore(K destination,
K... keys)
Add multiple sets and store the resulting set in a key.
|
RedisFuture<String> |
RedisServerAsyncCommands.sync()
Internal command used for replication.
|
RedisFuture<List<V>> |
RedisServerAsyncCommands.time()
Return the current server time.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.ttl(K key)
Get the time to live for a key.
|
RedisFuture<String> |
RedisKeyAsyncCommands.type(K key)
Determine the type stored at key.
|
RedisFuture<Long> |
RedisKeyAsyncCommands.unlink(K... keys)
Unlink one or more keys (non blocking DEL).
|
RedisFuture<String> |
RedisTransactionalAsyncCommands.unwatch()
Forget about all watched keys.
|
RedisFuture<Long> |
BaseRedisAsyncCommands.waitForReplication(int replicas,
long timeout)
Wait for replication.
|
RedisFuture<String> |
RedisTransactionalAsyncCommands.watch(K... keys)
Watch the given keys to determine execution of the MULTI/EXEC block.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zadd(K key,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zadd(K key,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Double> |
RedisSortedSetAsyncCommands.zaddincr(K key,
double score,
V member)
ZADD acts like ZINCRBY
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zcard(K key)
Get the number of members in a sorted set.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zcount(K key,
double min,
double max)
Count the members in a sorted set with scores within the given values.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zcount(K key,
String min,
String max)
Count the members in a sorted set with scores within the given values.
|
RedisFuture<Double> |
RedisSortedSetAsyncCommands.zincrby(K key,
double amount,
K member)
Increment the score of a member in a sorted set.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zinterstore(K destination,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zlexcount(K key,
String min,
String max)
Count the number of members in a sorted set between a given lexicographical range.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrangebylex(K key,
String min,
String max)
Return a range of members in a sorted set, by lexicographical range.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrangebylex(K key,
String min,
String max,
long offset,
long count)
Return a range of members in a sorted set, by lexicographical range.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrangebyscore(K key,
double min,
double max)
Return a range of members in a sorted set, by score.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrangebyscore(K key,
double min,
double max,
long offset,
long count)
Return a range of members in a sorted set, by score.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrangebyscore(K key,
String min,
String max)
Return a range of members in a sorted set, by score.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrangebyscore(K key,
String min,
String max,
long offset,
long count)
Return a range of members in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max)
Stream over a range of members in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
Stream over range of members in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max)
Stream over a range of members in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
Stream over a range of members in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(K key,
double min,
double max)
Return a range of members with score in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
Return a range of members with score in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(K key,
String min,
String max)
Return a range of members with score in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
Return a range of members with score in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max)
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max)
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Stream over a range of members with scores in a sorted set, by index.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrank(K key,
V member)
Determine the index of a member in a sorted set.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrem(K key,
V... members)
Remove one or more members from a sorted set.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zremrangebylex(K key,
String min,
String max)
Remove all members in a sorted set between the given lexicographical range.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zremrangebyrank(K key,
long start,
long stop)
Remove all members in a sorted set within the given indexes.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zremrangebyscore(K key,
double min,
double max)
Remove all members in a sorted set within the given scores.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zremrangebyscore(K key,
String min,
String max)
Remove all members in a sorted set within the given scores.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrevrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Stream over a range of members in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrevrangebyscore(K key,
double max,
double min)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrevrangebyscore(K key,
double max,
double min,
long offset,
long count)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrevrangebyscore(K key,
String max,
String min)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<V>> |
RedisSortedSetAsyncCommands.zrevrangebyscore(K key,
String max,
String min,
long offset,
long count)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(K key,
double max,
double min)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(K key,
String max,
String min)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
RedisFuture<List<ScoredValue<V>>> |
RedisSortedSetAsyncCommands.zrevrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Stream over a range of members with scores in a sorted set, by index, with scores ordered from high to low.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zrevrank(K key,
V member)
Determine the index of a member in a sorted set, with scores ordered from high to low.
|
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetAsyncCommands.zscan(K key)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetAsyncCommands.zscan(K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetAsyncCommands.zscan(K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<ScoredValueScanCursor<V>> |
RedisSortedSetAsyncCommands.zscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
RedisSortedSetAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
RedisSortedSetAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
RedisSortedSetAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<StreamScanCursor> |
RedisSortedSetAsyncCommands.zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
RedisFuture<Double> |
RedisSortedSetAsyncCommands.zscore(K key,
V member)
Get the score associated with the given member in a sorted set.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zunionstore(K destination,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
RedisAdvancedClusterAsyncCommandsImpl.clientSetname(K name) |
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommandsImpl.clusterCountKeysInSlot(int slot) |
RedisFuture<List<K>> |
RedisAdvancedClusterAsyncCommandsImpl.clusterGetKeysInSlot(int slot,
int count) |
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommandsImpl.dbsize() |
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommandsImpl.del(K... keys) |
RedisFuture<String> |
RedisAdvancedClusterAsyncCommandsImpl.flushall() |
RedisFuture<String> |
RedisAdvancedClusterAsyncCommandsImpl.flushdb() |
RedisFuture<List<K>> |
RedisAdvancedClusterAsyncCommandsImpl.keys(K pattern) |
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommandsImpl.keys(KeyStreamingChannel<K> channel,
K pattern) |
RedisFuture<List<V>> |
RedisAdvancedClusterAsyncCommandsImpl.mget(K... keys) |
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommandsImpl.mget(ValueStreamingChannel<V> channel,
K... keys) |
RedisFuture<String> |
RedisAdvancedClusterAsyncCommandsImpl.mset(Map<K,V> map) |
RedisFuture<Boolean> |
RedisAdvancedClusterAsyncCommandsImpl.msetnx(Map<K,V> map) |
RedisFuture<V> |
RedisAdvancedClusterAsyncCommandsImpl.randomkey() |
RedisFuture<String> |
RedisAdvancedClusterAsyncCommandsImpl.scriptFlush() |
RedisFuture<String> |
RedisAdvancedClusterAsyncCommandsImpl.scriptKill() |
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommandsImpl.unlink(K... keys) |
Modifier and Type | Method and Description |
---|---|
protected <T> Map<String,RedisFuture<T>> |
RedisAdvancedClusterAsyncCommandsImpl.executeOnMasters(java.util.function.Function<RedisClusterAsyncCommands<K,V>,RedisFuture<T>> function)
Run a command on all available masters,
|
protected <T> Map<String,RedisFuture<T>> |
RedisAdvancedClusterAsyncCommandsImpl.executeOnNodes(java.util.function.Function<RedisClusterAsyncCommands<K,V>,RedisFuture<T>> function,
java.util.function.Function<RedisClusterNode,Boolean> filter)
Run a command on all available nodes that match
filter . |
Modifier and Type | Method and Description |
---|---|
protected <T> Map<String,RedisFuture<T>> |
RedisAdvancedClusterAsyncCommandsImpl.executeOnMasters(java.util.function.Function<RedisClusterAsyncCommands<K,V>,RedisFuture<T>> function)
Run a command on all available masters,
|
protected <T> Map<String,RedisFuture<T>> |
RedisAdvancedClusterAsyncCommandsImpl.executeOnNodes(java.util.function.Function<RedisClusterAsyncCommands<K,V>,RedisFuture<T>> function,
java.util.function.Function<RedisClusterNode,Boolean> filter)
Run a command on all available nodes that match
filter . |
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
RedisClusterAsyncCommands.asking()
The asking command is required after a
-ASK redirection. |
RedisFuture<String> |
RedisAdvancedClusterAsyncCommands.clientSetname(K name)
Set the current connection name on all cluster nodes with pipelining.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterAddSlots(int... slots)
Adds slots to the cluster node.
|
RedisFuture<Long> |
RedisClusterAsyncCommands.clusterCountFailureReports(String nodeId)
Returns the number of failure reports for the specified node.
|
RedisFuture<Long> |
RedisClusterAsyncCommands.clusterCountKeysInSlot(int slot)
Returns the number of keys in the specified Redis Cluster hash
slot . |
RedisFuture<String> |
RedisClusterAsyncCommands.clusterDelSlots(int... slots)
Removes slots from the cluster node.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterFailover(boolean force)
Failover a cluster node.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterFlushslots()
Delete all the slots associated with the specified node.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterForget(String nodeId)
Blacklist and remove the cluster node from the cluster.
|
RedisFuture<List<K>> |
RedisClusterAsyncCommands.clusterGetKeysInSlot(int slot,
int count)
Retrieve the list of keys within the
slot . |
RedisFuture<String> |
RedisClusterAsyncCommands.clusterInfo()
Get information and statistics about the cluster viewed by the current node.
|
RedisFuture<Long> |
RedisClusterAsyncCommands.clusterKeyslot(K key)
Returns an integer identifying the hash slot the specified key hashes to.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterMeet(String ip,
int port)
Meet another cluster node to include the node into the cluster.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterMyId()
Obtain the nodeId for the currently connected node.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterNodes()
Obtain details about all cluster nodes.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterReplicate(String nodeId)
Turn this node into a slave of the node with the id
nodeId . |
RedisFuture<String> |
RedisClusterAsyncCommands.clusterReset(boolean hard)
Reset a node performing a soft or hard reset:
All other nodes are forgotten
All the assigned / open slots are released
If the node is a slave, it turns into a master
Only for hard reset: a new Node ID is generated
Only for hard reset: currentEpoch and configEpoch are set to 0
The new configuration is saved and the cluster state updated
If the node was a slave, the whole data set is flushed away
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterSaveconfig()
Forces a node to save the nodes.conf configuration on disk.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterSetConfigEpoch(long configEpoch)
This command sets a specific config epoch in a fresh node.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterSetSlotImporting(int slot,
String nodeId)
Flag a slot as IMPORTING (incoming) from the node specified in
nodeId . |
RedisFuture<String> |
RedisClusterAsyncCommands.clusterSetSlotMigrating(int slot,
String nodeId)
Flag a slot as MIGRATING (outgoing) towards the node specified in
nodeId . |
RedisFuture<String> |
RedisClusterAsyncCommands.clusterSetSlotNode(int slot,
String nodeId)
Assign a slot to a node.
|
RedisFuture<String> |
RedisClusterAsyncCommands.clusterSetSlotStable(int slot)
Clears migrating / importing state from the slot.
|
RedisFuture<List<String>> |
RedisClusterAsyncCommands.clusterSlaves(String nodeId)
List slaves for a certain node identified by its
nodeId . |
RedisFuture<List<Object>> |
RedisClusterAsyncCommands.clusterSlots()
Get array of cluster slots to node mappings.
|
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommands.dbsize()
Return the number of keys in the selected database on all cluster masters.
|
RedisFuture<Long> |
RedisClusterAsyncCommands.del(K... keys)
Delete a key with pipelining.
|
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommands.del(K... keys)
Delete one or more keys with pipelining.
|
RedisFuture<String> |
RedisAdvancedClusterAsyncCommands.flushall()
Remove all keys from all databases on all cluster masters with pipelining.
|
RedisFuture<String> |
RedisAdvancedClusterAsyncCommands.flushdb()
Remove all keys from the current database on all cluster masters with pipelining.
|
RedisFuture<List<K>> |
RedisAdvancedClusterAsyncCommands.keys(K pattern)
Find all keys matching the given pattern on all cluster masters.
|
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommands.keys(KeyStreamingChannel<K> channel,
K pattern)
Find all keys matching the given pattern on all cluster masters.
|
RedisFuture<List<V>> |
RedisClusterAsyncCommands.mget(K... keys)
Get the values of all the given keys with pipelining.
|
RedisFuture<List<V>> |
RedisAdvancedClusterAsyncCommands.mget(K... keys)
Get the values of all the given keys with pipelining.
|
RedisFuture<String> |
RedisClusterAsyncCommands.mset(Map<K,V> map)
Set multiple keys to multiple values with pipelining.
|
RedisFuture<String> |
RedisAdvancedClusterAsyncCommands.mset(Map<K,V> map)
Set multiple keys to multiple values with pipelining.
|
RedisFuture<Boolean> |
RedisClusterAsyncCommands.msetnx(Map<K,V> map)
Set multiple keys to multiple values, only if none of the keys exist with pipelining.
|
RedisFuture<Boolean> |
RedisAdvancedClusterAsyncCommands.msetnx(Map<K,V> map)
Set multiple keys to multiple values, only if none of the keys exist with pipelining.
|
RedisFuture<V> |
RedisAdvancedClusterAsyncCommands.randomkey()
Return a random key from the keyspace on a random master.
|
RedisFuture<String> |
RedisClusterAsyncCommands.readOnly()
Tells a Redis cluster slave node that the client is ok reading possibly stale data and is not interested in running write
queries.
|
RedisFuture<String> |
RedisClusterAsyncCommands.readWrite()
Resets readOnly flag.
|
RedisFuture<String> |
RedisAdvancedClusterAsyncCommands.scriptFlush()
Remove all the scripts from the script cache on all cluster nodes.
|
RedisFuture<String> |
RedisAdvancedClusterAsyncCommands.scriptKill()
Kill the script currently in execution on all cluster nodes.
|
RedisFuture<Long> |
RedisAdvancedClusterAsyncCommands.unlink(K... keys)
Unlink one or more keys with pipelining.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncCommand<K,V,T>
An asynchronous redis command and its result.
|
class |
TransactionalCommand<K,V,T>
A wrapper for commands within a MULTI transaction.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<Void> |
RedisPubSubConnection.psubscribe(K... patterns)
Deprecated.
Listen for messages published to channels matching the given patterns.
|
RedisFuture<Void> |
RedisPubSubAsyncCommandsImpl.psubscribe(K... patterns) |
RedisFuture<Void> |
RedisPubSubConnection.punsubscribe(K... patterns)
Deprecated.
Stop listening for messages posted to channels matching the given patterns.
|
RedisFuture<Void> |
RedisPubSubAsyncCommandsImpl.punsubscribe(K... patterns) |
RedisFuture<Void> |
RedisPubSubConnection.subscribe(K... channels)
Deprecated.
Listen for messages published to the given channels.
|
RedisFuture<Void> |
RedisPubSubAsyncCommandsImpl.subscribe(K... channels) |
RedisFuture<Void> |
RedisPubSubConnection.unsubscribe(K... channels)
Deprecated.
Stop listening for messages posted to the given channels.
|
RedisFuture<Void> |
RedisPubSubAsyncCommandsImpl.unsubscribe(K... channels) |
Modifier and Type | Method and Description |
---|---|
protected List<RedisFuture<Void>> |
StatefulRedisPubSubConnectionImpl.resubscribe()
Re-subscribe to all previously subscribed channels and patterns.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<Void> |
RedisPubSubAsyncCommands.psubscribe(K... patterns)
Listen for messages published to channels matching the given patterns.
|
RedisFuture<Void> |
RedisPubSubAsyncCommands.punsubscribe(K... patterns)
Stop listening for messages posted to channels matching the given patterns.
|
RedisFuture<Void> |
RedisPubSubAsyncCommands.subscribe(K... channels)
Listen for messages published to the given channels.
|
RedisFuture<Void> |
RedisPubSubAsyncCommands.unsubscribe(K... channels)
Stop listening for messages posted to the given channels.
|
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
RedisSentinelAsyncCommandsImpl.failover(K key) |
RedisFuture<SocketAddress> |
RedisSentinelAsyncCommandsImpl.getMasterAddrByName(K key) |
RedisFuture<Map<K,V>> |
RedisSentinelAsyncCommandsImpl.master(K key) |
RedisFuture<List<Map<K,V>>> |
RedisSentinelAsyncCommandsImpl.masters() |
RedisFuture<String> |
RedisSentinelAsyncCommandsImpl.monitor(K key,
String ip,
int port,
int quorum) |
RedisFuture<String> |
RedisSentinelAsyncCommandsImpl.ping() |
RedisFuture<String> |
RedisSentinelAsyncCommandsImpl.remove(K key) |
RedisFuture<Long> |
RedisSentinelAsyncCommandsImpl.reset(K key) |
RedisFuture<String> |
RedisSentinelAsyncCommandsImpl.set(K key,
String option,
V value) |
RedisFuture<List<Map<K,V>>> |
RedisSentinelAsyncCommandsImpl.slaves(K key) |
Modifier and Type | Method and Description |
---|---|
RedisFuture<String> |
RedisSentinelAsyncCommands.failover(K key)
Perform a failover.
|
RedisFuture<SocketAddress> |
RedisSentinelAsyncCommands.getMasterAddrByName(K key)
Return the ip and port number of the master with that name.
|
RedisFuture<Map<K,V>> |
RedisSentinelAsyncCommands.master(K key)
Show the state and info of the specified master.
|
RedisFuture<List<Map<K,V>>> |
RedisSentinelAsyncCommands.masters()
Enumerates all the monitored masters and their states.
|
RedisFuture<String> |
RedisSentinelAsyncCommands.monitor(K key,
String ip,
int port,
int quorum)
This command tells the Sentinel to start monitoring a new master with the specified name, ip, port, and quorum.
|
RedisFuture<String> |
RedisSentinelAsyncCommands.ping()
Ping the server.
|
RedisFuture<String> |
RedisSentinelAsyncCommands.remove(K key)
remove the specified master.
|
RedisFuture<Long> |
RedisSentinelAsyncCommands.reset(K key)
This command will reset all the masters with matching name.
|
RedisFuture<String> |
RedisSentinelAsyncCommands.set(K key,
String option,
V value)
Multiple option / value pairs can be specified (or none at all).
|
RedisFuture<List<Map<K,V>>> |
RedisSentinelAsyncCommands.slaves(K key)
Provides a list of slaves for the master with the specified name.
|
Copyright © 2016. All rights reserved.