K - Key type.V - Value type.public abstract class AbstractRedisReactiveCommands<K,V> extends Object implements RedisHashReactiveCommands<K,V>, RedisKeyReactiveCommands<K,V>, RedisStringReactiveCommands<K,V>, RedisListReactiveCommands<K,V>, RedisSetReactiveCommands<K,V>, RedisSortedSetReactiveCommands<K,V>, RedisScriptingReactiveCommands<K,V>, RedisServerReactiveCommands<K,V>, RedisHLLReactiveCommands<K,V>, BaseRedisReactiveCommands<K,V>, RedisTransactionalReactiveCommands<K,V>, RedisGeoReactiveCommands<K,V>, RedisClusterReactiveCommands<K,V>
| Constructor and Description |
|---|
AbstractRedisReactiveCommands(StatefulConnection<K,V> connection,
RedisCodec<K,V> codec)
Initialize a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Long> |
append(K key,
V value)
Append a value to a key.
|
reactor.core.publisher.Mono<String> |
asking()
The asking command is required after a
-ASK redirection. |
reactor.core.publisher.Mono<String> |
auth(String password)
Authenticate to the server.
|
reactor.core.publisher.Mono<String> |
bgrewriteaof()
Asynchronously rewrite the append-only file.
|
reactor.core.publisher.Mono<String> |
bgsave()
Asynchronously save the dataset to disk.
|
reactor.core.publisher.Mono<Long> |
bitcount(K key)
Count set bits in a string.
|
reactor.core.publisher.Mono<Long> |
bitcount(K key,
long start,
long end)
Count set bits in a string.
|
reactor.core.publisher.Flux<Value<Long>> |
bitfield(K key,
BitFieldArgs args)
Execute
BITFIELD with its subcommands. |
reactor.core.publisher.Mono<Long> |
bitopAnd(K destination,
K... keys)
Perform bitwise AND between strings.
|
reactor.core.publisher.Mono<Long> |
bitopNot(K destination,
K source)
Perform bitwise NOT between strings.
|
reactor.core.publisher.Mono<Long> |
bitopOr(K destination,
K... keys)
Perform bitwise OR between strings.
|
reactor.core.publisher.Mono<Long> |
bitopXor(K destination,
K... keys)
Perform bitwise XOR between strings.
|
reactor.core.publisher.Mono<Long> |
bitpos(K key,
boolean state)
Find first bit set or clear in a string.
|
reactor.core.publisher.Mono<Long> |
bitpos(K key,
boolean state,
long start)
Find first bit set or clear in a string.
|
reactor.core.publisher.Mono<Long> |
bitpos(K key,
boolean state,
long start,
long end)
Find first bit set or clear in a string.
|
reactor.core.publisher.Mono<KeyValue<K,V>> |
blpop(long timeout,
K... keys)
Remove and get the first element in a list, or block until one is available.
|
reactor.core.publisher.Mono<KeyValue<K,V>> |
brpop(long timeout,
K... keys)
Remove and get the last element in a list, or block until one is available.
|
reactor.core.publisher.Mono<V> |
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.
|
reactor.core.publisher.Mono<KeyValue<K,ScoredValue<V>>> |
bzpopmax(long timeout,
K... keys)
Removes and returns a member with the highest scores in the sorted set stored at one of the keys.
|
reactor.core.publisher.Mono<KeyValue<K,ScoredValue<V>>> |
bzpopmin(long timeout,
K... keys)
Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.
|
reactor.core.publisher.Mono<K> |
clientGetname()
Get the current connection name.
|
reactor.core.publisher.Mono<Long> |
clientKill(KillArgs killArgs)
Kill connections of clients which are filtered by
killArgs |
reactor.core.publisher.Mono<String> |
clientKill(String addr)
Kill the connection of a client identified by ip:port.
|
reactor.core.publisher.Mono<String> |
clientList()
Get the list of client connections.
|
reactor.core.publisher.Mono<String> |
clientPause(long timeout)
Stop processing commands from clients for some time.
|
reactor.core.publisher.Mono<String> |
clientSetname(K name)
Set the current connection name.
|
reactor.core.publisher.Mono<Long> |
clientUnblock(long id,
UnblockType type)
Unblock the specified blocked client.
|
void |
close() |
reactor.core.publisher.Mono<String> |
clusterAddSlots(int... slots)
Adds slots to the cluster node.
|
reactor.core.publisher.Mono<String> |
clusterBumpepoch()
Generate a new config epoch, incrementing the current epoch, assign the new epoch to this node, WITHOUT any consensus and
persist the configuration on disk before sending packets with the new configuration.
|
reactor.core.publisher.Mono<Long> |
clusterCountFailureReports(String nodeId)
Returns the number of failure reports for the specified node.
|
reactor.core.publisher.Mono<Long> |
clusterCountKeysInSlot(int slot)
Returns the number of keys in the specified Redis Cluster hash
slot. |
reactor.core.publisher.Mono<String> |
clusterDelSlots(int... slots)
Removes slots from the cluster node.
|
reactor.core.publisher.Mono<String> |
clusterFailover(boolean force)
Failover a cluster node.
|
reactor.core.publisher.Mono<String> |
clusterFlushslots()
Delete all the slots associated with the specified node.
|
reactor.core.publisher.Mono<String> |
clusterForget(String nodeId)
Blacklist and remove the cluster node from the cluster.
|
reactor.core.publisher.Flux<K> |
clusterGetKeysInSlot(int slot,
int count)
Retrieve the list of keys within the
slot. |
reactor.core.publisher.Mono<String> |
clusterInfo()
Get information and statistics about the cluster viewed by the current node.
|
reactor.core.publisher.Mono<Long> |
clusterKeyslot(K key)
Returns an integer identifying the hash slot the specified key hashes to.
|
reactor.core.publisher.Mono<String> |
clusterMeet(String ip,
int port)
Meet another cluster node to include the node into the cluster.
|
reactor.core.publisher.Mono<String> |
clusterMyId()
Obtain the nodeId for the currently connected node.
|
reactor.core.publisher.Mono<String> |
clusterNodes()
Obtain details about all cluster nodes.
|
reactor.core.publisher.Mono<String> |
clusterReplicate(String nodeId)
Turn this node into a slave of the node with the id
nodeId. |
reactor.core.publisher.Mono<String> |
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
|
reactor.core.publisher.Mono<String> |
clusterSaveconfig()
Forces a node to save the nodes.conf configuration on disk.
|
reactor.core.publisher.Mono<String> |
clusterSetConfigEpoch(long configEpoch)
This command sets a specific config epoch in a fresh node.
|
reactor.core.publisher.Mono<String> |
clusterSetSlotImporting(int slot,
String nodeId)
Flag a slot as IMPORTING (incoming) from the node specified in
nodeId. |
reactor.core.publisher.Mono<String> |
clusterSetSlotMigrating(int slot,
String nodeId)
Flag a slot as MIGRATING (outgoing) towards the node specified in
nodeId. |
reactor.core.publisher.Mono<String> |
clusterSetSlotNode(int slot,
String nodeId)
Assign a slot to a node.
|
reactor.core.publisher.Mono<String> |
clusterSetSlotStable(int slot)
Clears migrating / importing state from the slot.
|
reactor.core.publisher.Flux<String> |
clusterSlaves(String nodeId)
List slaves for a certain node identified by its
nodeId. |
reactor.core.publisher.Flux<Object> |
clusterSlots()
Get array of cluster slots to node mappings.
|
reactor.core.publisher.Flux<Object> |
command()
Returns an array reply of details about all Redis commands.
|
reactor.core.publisher.Mono<Long> |
commandCount()
Get total number of Redis commands.
|
reactor.core.publisher.Flux<Object> |
commandInfo(CommandType... commands)
Returns an array reply of details about the requested commands.
|
reactor.core.publisher.Flux<Object> |
commandInfo(String... commands)
Returns an array reply of details about the requested commands.
|
reactor.core.publisher.Mono<Map<String,String>> |
configGet(String parameter)
Get the value of a configuration parameter.
|
reactor.core.publisher.Mono<String> |
configResetstat()
Reset the stats returned by INFO.
|
reactor.core.publisher.Mono<String> |
configRewrite()
Rewrite the configuration file with the in memory configuration.
|
reactor.core.publisher.Mono<String> |
configSet(String parameter,
String value)
Set a configuration parameter to the given value.
|
<T,R> reactor.core.publisher.Flux<R> |
createDissolvingFlux(Supplier<RedisCommand<K,V,T>> commandSupplier) |
<T> reactor.core.publisher.Flux<T> |
createFlux(Supplier<RedisCommand<K,V,T>> commandSupplier) |
protected <T> reactor.core.publisher.Mono<T> |
createMono(CommandType type,
CommandOutput<K,V,T> output,
CommandArgs<K,V> args) |
<T> reactor.core.publisher.Mono<T> |
createMono(Supplier<RedisCommand<K,V,T>> commandSupplier) |
reactor.core.publisher.Mono<Long> |
dbsize()
Return the number of keys in the selected database.
|
reactor.core.publisher.Mono<String> |
debugCrashAndRecover(Long delay)
Crash and recover
|
reactor.core.publisher.Mono<String> |
debugHtstats(int db)
Get debugging information about the internal hash-table state.
|
reactor.core.publisher.Mono<String> |
debugObject(K key)
Get debugging information about a key.
|
reactor.core.publisher.Mono<Void> |
debugOom()
Make the server crash: Out of memory.
|
reactor.core.publisher.Mono<String> |
debugReload()
Save RDB, clear the database and reload RDB.
|
reactor.core.publisher.Mono<String> |
debugRestart(Long delay)
Restart the server gracefully.
|
reactor.core.publisher.Mono<String> |
debugSdslen(K key)
Get debugging information about the internal SDS length.
|
reactor.core.publisher.Mono<Void> |
debugSegfault()
Make the server crash: Invalid pointer access.
|
reactor.core.publisher.Mono<Long> |
decr(K key)
Decrement the integer value of a key by one.
|
reactor.core.publisher.Mono<Long> |
decrby(K key,
long amount)
Decrement the integer value of a key by the given number.
|
reactor.core.publisher.Mono<Long> |
del(Iterable<K> keys) |
reactor.core.publisher.Mono<Long> |
del(K... keys)
Delete one or more keys.
|
String |
digest(V script)
Create a SHA1 digest from a Lua script.
|
reactor.core.publisher.Mono<String> |
discard()
Discard all commands issued after MULTI.
|
<T> reactor.core.publisher.Flux<T> |
dispatch(ProtocolKeyword type,
CommandOutput<K,V,?> output)
Dispatch a command to the Redis Server.
|
<T> reactor.core.publisher.Flux<T> |
dispatch(ProtocolKeyword type,
CommandOutput<K,V,?> output,
CommandArgs<K,V> args)
Dispatch a command to the Redis Server.
|
reactor.core.publisher.Mono<byte[]> |
dump(K key)
Return a serialized version of the value stored at the specified key.
|
reactor.core.publisher.Mono<V> |
echo(V msg)
Echo the given string.
|
<T> reactor.core.publisher.Flux<T> |
eval(String script,
ScriptOutputType type,
K... keys)
Execute a Lua script server side.
|
<T> reactor.core.publisher.Flux<T> |
eval(String script,
ScriptOutputType type,
K[] keys,
V... values)
Execute a Lua script server side.
|
<T> reactor.core.publisher.Flux<T> |
evalsha(String digest,
ScriptOutputType type,
K... keys)
Evaluates a script cached on the server side by its SHA1 digest
|
<T> reactor.core.publisher.Flux<T> |
evalsha(String digest,
ScriptOutputType type,
K[] keys,
V... values)
Execute a Lua script server side.
|
reactor.core.publisher.Mono<TransactionResult> |
exec()
Execute all commands issued after MULTI.
|
reactor.core.publisher.Mono<Long> |
exists(Iterable<K> keys) |
reactor.core.publisher.Mono<Long> |
exists(K... keys)
Determine how many keys exist.
|
reactor.core.publisher.Mono<Boolean> |
exists(K key) |
reactor.core.publisher.Mono<Boolean> |
expire(K key,
long seconds)
Set a key's time to live in seconds.
|
reactor.core.publisher.Mono<Boolean> |
expireat(K key,
Date timestamp)
Set the expiration for a key as a UNIX timestamp.
|
reactor.core.publisher.Mono<Boolean> |
expireat(K key,
long timestamp)
Set the expiration for a key as a UNIX timestamp.
|
reactor.core.publisher.Mono<String> |
flushall()
Remove all keys from all databases.
|
reactor.core.publisher.Mono<String> |
flushallAsync()
Remove all keys asynchronously from all databases.
|
void |
flushCommands()
Flush pending commands.
|
reactor.core.publisher.Mono<String> |
flushdb()
Remove all keys from the current database.
|
reactor.core.publisher.Mono<String> |
flushdbAsync()
Remove all keys asynchronously from the current database.
|
reactor.core.publisher.Mono<Long> |
geoadd(K key,
double longitude,
double latitude,
V member)
Single geo add.
|
reactor.core.publisher.Mono<Long> |
geoadd(K key,
Object... lngLatMember)
Multi geo add.
|
reactor.core.publisher.Mono<Double> |
geodist(K key,
V from,
V to,
GeoArgs.Unit unit)
Retrieve distance between points
from and to. |
reactor.core.publisher.Flux<Value<String>> |
geohash(K key,
V... members)
Retrieve Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index.
|
reactor.core.publisher.Flux<Value<GeoCoordinates>> |
geopos(K key,
V... members)
Get geo coordinates for the
members. |
protected reactor.core.publisher.Flux<V> |
georadius_ro(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit) |
protected reactor.core.publisher.Flux<GeoWithin<V>> |
georadius_ro(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs) |
reactor.core.publisher.Flux<V> |
georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit)
Retrieve members selected by distance with the center of
longitude and latitude. |
reactor.core.publisher.Flux<GeoWithin<V>> |
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. |
reactor.core.publisher.Mono<Long> |
georadius(K key,
double longitude,
double latitude,
double distance,
GeoArgs.Unit unit,
GeoRadiusStoreArgs<K> geoRadiusStoreArgs)
Perform a
RedisGeoReactiveCommands.georadius(Object, double, double, double, GeoArgs.Unit, GeoArgs) query and store the results in a sorted set. |
protected reactor.core.publisher.Flux<V> |
georadiusbymember_ro(K key,
V member,
double distance,
GeoArgs.Unit unit) |
protected reactor.core.publisher.Flux<GeoWithin<V>> |
georadiusbymember_ro(K key,
V member,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs) |
reactor.core.publisher.Flux<V> |
georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit)
Retrieve members selected by distance with the center of
member. |
reactor.core.publisher.Flux<GeoWithin<V>> |
georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit,
GeoArgs geoArgs)
Retrieve members selected by distance with the center of
member. |
reactor.core.publisher.Mono<Long> |
georadiusbymember(K key,
V member,
double distance,
GeoArgs.Unit unit,
GeoRadiusStoreArgs<K> geoRadiusStoreArgs)
Perform a
RedisGeoReactiveCommands.georadiusbymember(Object, Object, double, GeoArgs.Unit, GeoArgs) query and store the results in a sorted set. |
reactor.core.publisher.Mono<V> |
get(K key)
Get the value of a key.
|
reactor.core.publisher.Mono<Long> |
getbit(K key,
long offset)
Returns the bit value at offset in the string value stored at key.
|
StatefulConnection<K,V> |
getConnection() |
reactor.core.publisher.Mono<V> |
getrange(K key,
long start,
long end)
Get a substring of the string stored at a key.
|
reactor.core.publisher.Mono<V> |
getset(K key,
V value)
Set the string value of a key and return its old value.
|
reactor.core.publisher.Mono<Long> |
hdel(K key,
K... fields)
Delete one or more hash fields.
|
reactor.core.publisher.Mono<Boolean> |
hexists(K key,
K field)
Determine if a hash field exists.
|
reactor.core.publisher.Mono<V> |
hget(K key,
K field)
Get the value of a hash field.
|
reactor.core.publisher.Mono<Map<K,V>> |
hgetall(K key)
Get all the fields and values in a hash.
|
reactor.core.publisher.Mono<Long> |
hgetall(KeyValueStreamingChannel<K,V> channel,
K key)
Stream over all the fields and values in a hash.
|
reactor.core.publisher.Mono<Long> |
hincrby(K key,
K field,
long amount)
Increment the integer value of a hash field by the given number.
|
reactor.core.publisher.Mono<Double> |
hincrbyfloat(K key,
K field,
double amount)
Increment the float value of a hash field by the given amount.
|
reactor.core.publisher.Flux<K> |
hkeys(K key)
Get all the fields in a hash.
|
reactor.core.publisher.Mono<Long> |
hkeys(KeyStreamingChannel<K> channel,
K key)
Stream over all the fields in a hash.
|
reactor.core.publisher.Mono<Long> |
hlen(K key)
Get the number of fields in a hash.
|
reactor.core.publisher.Mono<Long> |
hmget(KeyValueStreamingChannel<K,V> channel,
K key,
K... fields)
Stream over the values of all the given hash fields.
|
reactor.core.publisher.Flux<KeyValue<K,V>> |
hmget(K key,
K... fields)
Get the values of all the given hash fields.
|
reactor.core.publisher.Mono<String> |
hmset(K key,
Map<K,V> map)
Set multiple hash fields to multiple values.
|
reactor.core.publisher.Mono<MapScanCursor<K,V>> |
hscan(K key)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<StreamScanCursor> |
hscan(KeyValueStreamingChannel<K,V> channel,
K key)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<StreamScanCursor> |
hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<StreamScanCursor> |
hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<StreamScanCursor> |
hscan(KeyValueStreamingChannel<K,V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<MapScanCursor<K,V>> |
hscan(K key,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<MapScanCursor<K,V>> |
hscan(K key,
ScanCursor scanCursor)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<MapScanCursor<K,V>> |
hscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate hash fields and associated values.
|
reactor.core.publisher.Mono<Boolean> |
hset(K key,
K field,
V value)
Set the string value of a hash field.
|
reactor.core.publisher.Mono<Boolean> |
hsetnx(K key,
K field,
V value)
Set the value of a hash field, only if the field does not exist.
|
reactor.core.publisher.Mono<Long> |
hstrlen(K key,
K field)
Get the string length of the field value in a hash.
|
reactor.core.publisher.Flux<V> |
hvals(K key)
Get all the values in a hash.
|
reactor.core.publisher.Mono<Long> |
hvals(ValueStreamingChannel<V> channel,
K key)
Stream over all the values in a hash.
|
reactor.core.publisher.Mono<Long> |
incr(K key)
Increment the integer value of a key by one.
|
reactor.core.publisher.Mono<Long> |
incrby(K key,
long amount)
Increment the integer value of a key by the given amount.
|
reactor.core.publisher.Mono<Double> |
incrbyfloat(K key,
double amount)
Increment the float value of a key by the given amount.
|
reactor.core.publisher.Mono<String> |
info()
Get information and statistics about the server.
|
reactor.core.publisher.Mono<String> |
info(String section)
Get information and statistics about the server.
|
boolean |
isOpen() |
reactor.core.publisher.Flux<K> |
keys(K pattern)
Find all keys matching the given pattern.
|
reactor.core.publisher.Mono<Long> |
keys(KeyStreamingChannel<K> channel,
K pattern)
Find all keys matching the given pattern.
|
reactor.core.publisher.Mono<Date> |
lastsave()
Get the UNIX time stamp of the last successful save to disk.
|
reactor.core.publisher.Mono<V> |
lindex(K key,
long index)
Get an element from a list by its index.
|
reactor.core.publisher.Mono<Long> |
linsert(K key,
boolean before,
V pivot,
V value)
Insert an element before or after another element in a list.
|
reactor.core.publisher.Mono<Long> |
llen(K key)
Get the length of a list.
|
reactor.core.publisher.Mono<V> |
lpop(K key)
Remove and get the first element in a list.
|
reactor.core.publisher.Mono<Long> |
lpush(K key,
V... values)
Prepend one or multiple values to a list.
|
reactor.core.publisher.Mono<Long> |
lpushx(K key,
V... values)
Prepend values to a list, only if the list exists.
|
reactor.core.publisher.Flux<V> |
lrange(K key,
long start,
long stop)
Get a range of elements from a list.
|
reactor.core.publisher.Mono<Long> |
lrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Get a range of elements from a list.
|
reactor.core.publisher.Mono<Long> |
lrem(K key,
long count,
V value)
Remove elements from a list.
|
reactor.core.publisher.Mono<String> |
lset(K key,
long index,
V value)
Set the value of an element in a list by its index.
|
reactor.core.publisher.Mono<String> |
ltrim(K key,
long start,
long stop)
Trim a list to the specified range.
|
reactor.core.publisher.Flux<KeyValue<K,V>> |
mget(Iterable<K> keys) |
reactor.core.publisher.Flux<KeyValue<K,V>> |
mget(K... keys)
Get the values of all the given keys.
|
reactor.core.publisher.Mono<Long> |
mget(KeyValueStreamingChannel<K,V> channel,
Iterable<K> keys) |
reactor.core.publisher.Mono<Long> |
mget(KeyValueStreamingChannel<K,V> channel,
K... keys)
Stream over the values of all the given keys.
|
reactor.core.publisher.Mono<Long> |
mget(ValueStreamingChannel<V> channel,
Iterable<K> keys) |
reactor.core.publisher.Mono<String> |
migrate(String host,
int port,
int db,
long timeout,
MigrateArgs<K> migrateArgs)
Atomically transfer one or more keys from a Redis instance to another one.
|
reactor.core.publisher.Mono<String> |
migrate(String host,
int port,
K key,
int db,
long timeout)
Atomically transfer a key from a Redis instance to another one.
|
reactor.core.publisher.Mono<Boolean> |
move(K key,
int db)
Move a key to another database.
|
reactor.core.publisher.Mono<String> |
mset(Map<K,V> map)
Set multiple keys to multiple values.
|
reactor.core.publisher.Mono<Boolean> |
msetnx(Map<K,V> map)
Set multiple keys to multiple values, only if none of the keys exist.
|
reactor.core.publisher.Mono<String> |
multi()
Mark the start of a transaction block.
|
reactor.core.publisher.Mono<String> |
objectEncoding(K key)
returns the kind of internal representation used in order to store the value associated with a key.
|
reactor.core.publisher.Mono<Long> |
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).
|
reactor.core.publisher.Mono<Long> |
objectRefcount(K key)
returns the number of references of the value associated with the specified key.
|
reactor.core.publisher.Mono<Boolean> |
persist(K key)
Remove the expiration from a key.
|
reactor.core.publisher.Mono<Boolean> |
pexpire(K key,
long milliseconds)
Set a key's time to live in milliseconds.
|
reactor.core.publisher.Mono<Boolean> |
pexpireat(K key,
Date timestamp)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
reactor.core.publisher.Mono<Boolean> |
pexpireat(K key,
long timestamp)
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
|
reactor.core.publisher.Mono<Long> |
pfadd(K key,
V... values)
Adds the specified elements to the specified HyperLogLog.
|
reactor.core.publisher.Mono<Long> |
pfadd(K key,
V value,
V... values) |
reactor.core.publisher.Mono<Long> |
pfcount(K... keys)
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
reactor.core.publisher.Mono<Long> |
pfcount(K key,
K... keys) |
reactor.core.publisher.Mono<String> |
pfmerge(K destkey,
K... sourcekeys)
Merge N different HyperLogLogs into a single one.
|
reactor.core.publisher.Mono<String> |
pfmerge(K destkey,
K sourceKey,
K... sourcekeys) |
reactor.core.publisher.Mono<String> |
ping()
Ping the server.
|
reactor.core.publisher.Mono<String> |
psetex(K key,
long milliseconds,
V value)
Set the value and expiration in milliseconds of a key.
|
reactor.core.publisher.Mono<Long> |
pttl(K key)
Get the time to live for a key in milliseconds.
|
reactor.core.publisher.Mono<Long> |
publish(K channel,
V message)
Post a message to a channel.
|
reactor.core.publisher.Flux<K> |
pubsubChannels()
Lists the currently *active channels*.
|
reactor.core.publisher.Flux<K> |
pubsubChannels(K channel)
Lists the currently *active channels*.
|
reactor.core.publisher.Mono<Long> |
pubsubNumpat()
Returns the number of subscriptions to patterns.
|
reactor.core.publisher.Mono<Map<K,Long>> |
pubsubNumsub(K... channels)
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels.
|
reactor.core.publisher.Mono<String> |
quit()
Instructs Redis to disconnect the connection.
|
reactor.core.publisher.Mono<V> |
randomkey()
Return a random key from the keyspace.
|
reactor.core.publisher.Mono<String> |
readOnly()
Switch connection to Read-Only mode when connecting to a cluster.
|
reactor.core.publisher.Mono<String> |
readWrite()
Switch connection to Read-Write mode (default) when connecting to a cluster.
|
reactor.core.publisher.Mono<String> |
rename(K key,
K newKey)
Rename a key.
|
reactor.core.publisher.Mono<Boolean> |
renamenx(K key,
K newKey)
Rename a key, only if the new key does not exist.
|
void |
reset()
Reset the command state.
|
reactor.core.publisher.Mono<String> |
restore(K key,
byte[] value,
RestoreArgs args)
Create a key using the provided serialized value, previously obtained using DUMP.
|
reactor.core.publisher.Mono<String> |
restore(K key,
long ttl,
byte[] value)
Create a key using the provided serialized value, previously obtained using DUMP.
|
reactor.core.publisher.Flux<Object> |
role()
Return the role of the instance in the context of replication.
|
reactor.core.publisher.Mono<V> |
rpop(K key)
Remove and get the last element in a list.
|
reactor.core.publisher.Mono<V> |
rpoplpush(K source,
K destination)
Remove the last element in a list, append it to another list and return it.
|
reactor.core.publisher.Mono<Long> |
rpush(K key,
V... values)
Append one or multiple values to a list.
|
reactor.core.publisher.Mono<Long> |
rpushx(K key,
V... values)
Append values to a list, only if the list exists.
|
reactor.core.publisher.Mono<Long> |
sadd(K key,
V... members)
Add one or more members to a set.
|
reactor.core.publisher.Mono<String> |
save()
Synchronously save the dataset to disk.
|
reactor.core.publisher.Mono<KeyScanCursor<K>> |
scan()
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<StreamScanCursor> |
scan(KeyStreamingChannel<K> channel)
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<StreamScanCursor> |
scan(KeyStreamingChannel<K> channel,
ScanArgs scanArgs)
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<StreamScanCursor> |
scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor)
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<StreamScanCursor> |
scan(KeyStreamingChannel<K> channel,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<KeyScanCursor<K>> |
scan(ScanArgs scanArgs)
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<KeyScanCursor<K>> |
scan(ScanCursor scanCursor)
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<KeyScanCursor<K>> |
scan(ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate the keys space.
|
reactor.core.publisher.Mono<Long> |
scard(K key)
Get the number of members in a set.
|
reactor.core.publisher.Flux<Boolean> |
scriptExists(String... digests)
Check existence of scripts in the script cache.
|
reactor.core.publisher.Mono<String> |
scriptFlush()
Remove all the scripts from the script cache.
|
reactor.core.publisher.Mono<String> |
scriptKill()
Kill the script currently in execution.
|
reactor.core.publisher.Mono<String> |
scriptLoad(V script)
Load the specified Lua script into the script cache.
|
reactor.core.publisher.Flux<V> |
sdiff(K... keys)
Subtract multiple sets.
|
reactor.core.publisher.Mono<Long> |
sdiff(ValueStreamingChannel<V> channel,
K... keys)
Subtract multiple sets.
|
reactor.core.publisher.Mono<Long> |
sdiffstore(K destination,
K... keys)
Subtract multiple sets and store the resulting set in a key.
|
reactor.core.publisher.Mono<String> |
select(int db) |
reactor.core.publisher.Mono<String> |
set(K key,
V value)
Set the string value of a key.
|
reactor.core.publisher.Mono<String> |
set(K key,
V value,
SetArgs setArgs)
Set the string value of a key.
|
void |
setAutoFlushCommands(boolean autoFlush)
Disable or enable auto-flush behavior.
|
reactor.core.publisher.Mono<Long> |
setbit(K key,
long offset,
int value)
Sets or clears the bit at offset in the string value stored at key.
|
reactor.core.publisher.Mono<String> |
setex(K key,
long seconds,
V value)
Set the value and expiration of a key.
|
reactor.core.publisher.Mono<Boolean> |
setnx(K key,
V value)
Set the value of a key, only if the key does not exist.
|
reactor.core.publisher.Mono<Long> |
setrange(K key,
long offset,
V value)
Overwrite part of a string at key starting at the specified offset.
|
void |
setTimeout(Duration timeout)
Set the default timeout for operations.
|
void |
setTimeout(long timeout,
TimeUnit unit)
Set the default timeout for operations.
|
reactor.core.publisher.Mono<Void> |
shutdown(boolean save)
Synchronously save the dataset to disk and then shut down the server.
|
reactor.core.publisher.Flux<V> |
sinter(K... keys)
Intersect multiple sets.
|
reactor.core.publisher.Mono<Long> |
sinter(ValueStreamingChannel<V> channel,
K... keys)
Intersect multiple sets.
|
reactor.core.publisher.Mono<Long> |
sinterstore(K destination,
K... keys)
Intersect multiple sets and store the resulting set in a key.
|
reactor.core.publisher.Mono<Boolean> |
sismember(K key,
V member)
Determine if a given value is a member of a set.
|
reactor.core.publisher.Mono<String> |
slaveof(String host,
int port)
Make the server a slave of another instance, or promote it as master.
|
reactor.core.publisher.Mono<String> |
slaveofNoOne()
Promote server as master.
|
reactor.core.publisher.Flux<Object> |
slowlogGet()
Read the slow log.
|
reactor.core.publisher.Flux<Object> |
slowlogGet(int count)
Read the slow log.
|
reactor.core.publisher.Mono<Long> |
slowlogLen()
Obtaining the current length of the slow log.
|
reactor.core.publisher.Mono<String> |
slowlogReset()
Resetting the slow log.
|
reactor.core.publisher.Flux<V> |
smembers(K key)
Get all the members in a set.
|
reactor.core.publisher.Mono<Long> |
smembers(ValueStreamingChannel<V> channel,
K key)
Get all the members in a set.
|
reactor.core.publisher.Mono<Boolean> |
smove(K source,
K destination,
V member)
Move a member from one set to another.
|
reactor.core.publisher.Flux<V> |
sort(K key)
Sort the elements in a list, set or sorted set.
|
reactor.core.publisher.Flux<V> |
sort(K key,
SortArgs sortArgs)
Sort the elements in a list, set or sorted set.
|
reactor.core.publisher.Mono<Long> |
sort(ValueStreamingChannel<V> channel,
K key)
Sort the elements in a list, set or sorted set.
|
reactor.core.publisher.Mono<Long> |
sort(ValueStreamingChannel<V> channel,
K key,
SortArgs sortArgs)
Sort the elements in a list, set or sorted set.
|
reactor.core.publisher.Mono<Long> |
sortStore(K key,
SortArgs sortArgs,
K destination)
Sort the elements in a list, set or sorted set.
|
reactor.core.publisher.Mono<V> |
spop(K key)
Remove and return a random member from a set.
|
reactor.core.publisher.Flux<V> |
spop(K key,
long count)
Remove and return one or multiple random members from a set.
|
reactor.core.publisher.Mono<V> |
srandmember(K key)
Get one random member from a set.
|
reactor.core.publisher.Flux<V> |
srandmember(K key,
long count)
Get one or multiple random members from a set.
|
reactor.core.publisher.Mono<Long> |
srandmember(ValueStreamingChannel<V> channel,
K key,
long count)
Get one or multiple random members from a set.
|
reactor.core.publisher.Mono<Long> |
srem(K key,
V... members)
Remove one or more members from a set.
|
reactor.core.publisher.Mono<ValueScanCursor<V>> |
sscan(K key)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<ValueScanCursor<V>> |
sscan(K key,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<ValueScanCursor<V>> |
sscan(K key,
ScanCursor scanCursor)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<ValueScanCursor<V>> |
sscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<StreamScanCursor> |
sscan(ValueStreamingChannel<V> channel,
K key)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<StreamScanCursor> |
sscan(ValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<StreamScanCursor> |
sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<StreamScanCursor> |
sscan(ValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate Set elements.
|
reactor.core.publisher.Mono<Long> |
strlen(K key)
Get the length of the value stored in a key.
|
reactor.core.publisher.Flux<V> |
sunion(K... keys)
Add multiple sets.
|
reactor.core.publisher.Mono<Long> |
sunion(ValueStreamingChannel<V> channel,
K... keys)
Add multiple sets.
|
reactor.core.publisher.Mono<Long> |
sunionstore(K destination,
K... keys)
Add multiple sets and store the resulting set in a key.
|
reactor.core.publisher.Mono<String> |
swapdb(int db1,
int db2) |
reactor.core.publisher.Flux<V> |
time()
Return the current server time.
|
reactor.core.publisher.Mono<Long> |
touch(Iterable<K> keys) |
reactor.core.publisher.Mono<Long> |
touch(K... keys)
Touch one or more keys.
|
reactor.core.publisher.Mono<Long> |
ttl(K key)
Get the time to live for a key.
|
reactor.core.publisher.Mono<String> |
type(K key)
Determine the type stored at key.
|
reactor.core.publisher.Mono<Long> |
unlink(Iterable<K> keys) |
reactor.core.publisher.Mono<Long> |
unlink(K... keys)
Unlink one or more keys (non blocking DEL).
|
reactor.core.publisher.Mono<String> |
unwatch()
Forget about all watched keys.
|
reactor.core.publisher.Mono<Long> |
waitForReplication(int replicas,
long timeout)
Wait for replication.
|
reactor.core.publisher.Mono<String> |
watch(K... keys)
Watch the given keys to determine execution of the MULTI/EXEC block.
|
reactor.core.publisher.Mono<Long> |
xack(K key,
K group,
String... messageIds)
Acknowledge one or more messages as processed.
|
reactor.core.publisher.Mono<String> |
xadd(K key,
Map<K,V> body)
Append a message to the stream
key. |
reactor.core.publisher.Mono<String> |
xadd(K key,
Object... keysAndValues)
Append a message to the stream
key. |
reactor.core.publisher.Mono<String> |
xadd(K key,
XAddArgs args,
Map<K,V> body)
Append a message to the stream
key. |
reactor.core.publisher.Mono<String> |
xadd(K key,
XAddArgs args,
Object... keysAndValues)
Append a message to the stream
key. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xclaim(K key,
Consumer<K> consumer,
long minIdleTime,
String... messageIds)
Gets ownership of one or multiple messages in the Pending Entries List of a given stream consumer group.
|
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xclaim(K key,
Consumer<K> consumer,
XClaimArgs args,
String... messageIds)
Gets ownership of one or multiple messages in the Pending Entries List of a given stream consumer group.
|
reactor.core.publisher.Mono<Long> |
xdel(K key,
String... messageIds)
Removes the specified entries from the stream.
|
reactor.core.publisher.Mono<String> |
xgroupCreate(XReadArgs.StreamOffset<K> streamOffset,
K group)
Create a consumer group.
|
reactor.core.publisher.Mono<Boolean> |
xgroupDelconsumer(K key,
Consumer<K> consumer)
Delete a consumer from a consumer group.
|
reactor.core.publisher.Mono<Boolean> |
xgroupDestroy(K key,
K group)
Destroy a consumer group.
|
reactor.core.publisher.Mono<String> |
xgroupSetid(XReadArgs.StreamOffset<K> streamOffset,
K group)
Set the current
group id. |
reactor.core.publisher.Mono<Long> |
xlen(K key)
Get the length of a steam.
|
reactor.core.publisher.Flux<Object> |
xpending(K key,
Consumer<K> consumer,
Range<String> range,
Limit limit)
Read pending messages from a stream within a specific
Range. |
reactor.core.publisher.Flux<Object> |
xpending(K key,
K group)
Read pending messages from a stream for a
group. |
reactor.core.publisher.Flux<Object> |
xpending(K key,
K group,
Range<String> range,
Limit limit)
Read pending messages from a stream within a specific
Range. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xrange(K key,
Range<String> range)
Read messages from a stream within a specific
Range. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xrange(K key,
Range<String> range,
Limit limit)
|
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xread(XReadArgs.StreamOffset<K>... streams)
Read messages from one or more
XReadArgs.StreamOffsets. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xread(XReadArgs args,
XReadArgs.StreamOffset<K>... streams)
Read messages from one or more
XReadArgs.StreamOffsets. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xreadgroup(Consumer<K> consumer,
XReadArgs.StreamOffset<K>... streams)
Read messages from one or more
XReadArgs.StreamOffsets using a consumer group. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xreadgroup(Consumer<K> consumer,
XReadArgs args,
XReadArgs.StreamOffset<K>... streams)
Read messages from one or more
XReadArgs.StreamOffsets using a consumer group. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xrevrange(K key,
Range<String> range)
Read messages from a stream within a specific
Range in reverse order. |
reactor.core.publisher.Flux<StreamMessage<K,V>> |
xrevrange(K key,
Range<String> range,
Limit limit)
|
reactor.core.publisher.Mono<Long> |
xtrim(K key,
boolean approximateTrimming,
long count)
Trims the stream to
count elements. |
reactor.core.publisher.Mono<Long> |
xtrim(K key,
long count)
Trims the stream to
count elements. |
reactor.core.publisher.Mono<Long> |
zadd(K key,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
reactor.core.publisher.Mono<Long> |
zadd(K key,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
reactor.core.publisher.Mono<Long> |
zadd(K key,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
reactor.core.publisher.Mono<Long> |
zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
reactor.core.publisher.Mono<Double> |
zaddincr(K key,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
reactor.core.publisher.Mono<Double> |
zaddincr(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 applying the
INCR option. |
reactor.core.publisher.Mono<Long> |
zcard(K key)
Get the number of members in a sorted set.
|
reactor.core.publisher.Mono<Long> |
zcount(K key,
double min,
double max)
Count the members in a sorted set with scores within the given values.
|
reactor.core.publisher.Mono<Long> |
zcount(K key,
Range<? extends Number> range)
Count the members in a sorted set with scores within the given
Range. |
reactor.core.publisher.Mono<Long> |
zcount(K key,
String min,
String max)
Count the members in a sorted set with scores within the given values.
|
reactor.core.publisher.Mono<Double> |
zincrby(K key,
double amount,
V member)
Increment the score of a member in a sorted set.
|
reactor.core.publisher.Mono<Long> |
zinterstore(K destination,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
reactor.core.publisher.Mono<Long> |
zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
reactor.core.publisher.Mono<Long> |
zlexcount(K key,
Range<? extends V> range)
Count the number of members in a sorted set between a given lexicographical range.
|
reactor.core.publisher.Mono<Long> |
zlexcount(K key,
String min,
String max)
Count the number of members in a sorted set between a given lexicographical range.
|
reactor.core.publisher.Mono<ScoredValue<V>> |
zpopmax(K key)
Removes and returns up to count members with the highest scores in the sorted set stored at key.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zpopmax(K key,
long count)
Removes and returns up to count members with the highest scores in the sorted set stored at key.
|
reactor.core.publisher.Mono<ScoredValue<V>> |
zpopmin(K key)
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zpopmin(K key,
long count)
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
|
reactor.core.publisher.Flux<V> |
zrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
reactor.core.publisher.Mono<Long> |
zrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
reactor.core.publisher.Flux<V> |
zrangebylex(K key,
Range<? extends V> range)
Return a range of members in a sorted set, by lexicographical range.
|
reactor.core.publisher.Flux<V> |
zrangebylex(K key,
Range<? extends V> range,
Limit limit)
Return a range of members in a sorted set, by lexicographical range.
|
reactor.core.publisher.Flux<V> |
zrangebylex(K key,
String min,
String max)
Return a range of members in a sorted set, by lexicographical range.
|
reactor.core.publisher.Flux<V> |
zrangebylex(K key,
String min,
String max,
long offset,
long count)
Return a range of members in a sorted set, by lexicographical range.
|
reactor.core.publisher.Flux<V> |
zrangebyscore(K key,
double min,
double max)
Return a range of members in a sorted set, by score.
|
reactor.core.publisher.Flux<V> |
zrangebyscore(K key,
double min,
double max,
long offset,
long count)
Return a range of members in a sorted set, by score.
|
reactor.core.publisher.Flux<V> |
zrangebyscore(K key,
Range<? extends Number> range)
Return a range of members in a sorted set, by score.
|
reactor.core.publisher.Flux<V> |
zrangebyscore(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members in a sorted set, by score.
|
reactor.core.publisher.Flux<V> |
zrangebyscore(K key,
String min,
String max)
Return a range of members in a sorted set, by score.
|
reactor.core.publisher.Flux<V> |
zrangebyscore(K key,
String min,
String max,
long offset,
long count)
Return a range of members in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max)
Stream over a range of members in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max)
Stream over a range of members in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max)
Return a range of members with score in a sorted set, by score.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
Return a range of members with score in a sorted set, by score.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
Range<? extends Number> range)
Return a range of members with score in a sorted set, by score.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members with score in a sorted set, by score.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max)
Return a range of members with score in a sorted set, by score.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
Return a range of members with score in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max)
Stream over a range of members with scores in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members with scores in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members with scores in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max)
Stream over a range of members with scores in a sorted set, by score.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index.
|
reactor.core.publisher.Mono<Long> |
zrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Stream over a range of members with scores in a sorted set, by index.
|
reactor.core.publisher.Mono<Long> |
zrank(K key,
V member)
Determine the index of a member in a sorted set.
|
reactor.core.publisher.Mono<Long> |
zrem(K key,
V... members)
Remove one or more members from a sorted set.
|
reactor.core.publisher.Mono<Long> |
zremrangebylex(K key,
Range<? extends V> range)
Remove all members in a sorted set between the given lexicographical range.
|
reactor.core.publisher.Mono<Long> |
zremrangebylex(K key,
String min,
String max)
Remove all members in a sorted set between the given lexicographical range.
|
reactor.core.publisher.Mono<Long> |
zremrangebyrank(K key,
long start,
long stop)
Remove all members in a sorted set within the given indexes.
|
reactor.core.publisher.Mono<Long> |
zremrangebyscore(K key,
double min,
double max)
Remove all members in a sorted set within the given scores.
|
reactor.core.publisher.Mono<Long> |
zremrangebyscore(K key,
Range<? extends Number> range)
Remove all members in a sorted set within the given scores.
|
reactor.core.publisher.Mono<Long> |
zremrangebyscore(K key,
String min,
String max)
Remove all members in a sorted set within the given scores.
|
reactor.core.publisher.Flux<V> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Flux<V> |
zrevrangebylex(K key,
Range<? extends V> range)
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
|
reactor.core.publisher.Flux<V> |
zrevrangebylex(K key,
Range<? extends V> range,
Limit limit)
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
|
reactor.core.publisher.Flux<V> |
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.
|
reactor.core.publisher.Flux<V> |
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.
|
reactor.core.publisher.Flux<V> |
zrevrangebyscore(K key,
Range<? extends Number> range)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Flux<V> |
zrevrangebyscore(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Flux<V> |
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.
|
reactor.core.publisher.Flux<V> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
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.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
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.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
Range<? extends Number> range)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
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.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Flux<ScoredValue<V>> |
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.
|
reactor.core.publisher.Mono<Long> |
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.
|
reactor.core.publisher.Mono<Long> |
zrevrank(K key,
V member)
Determine the index of a member in a sorted set, with scores ordered from high to low.
|
reactor.core.publisher.Mono<ScoredValueScanCursor<V>> |
zscan(K key)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<ScoredValueScanCursor<V>> |
zscan(K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<ScoredValueScanCursor<V>> |
zscan(K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<ScoredValueScanCursor<V>> |
zscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
reactor.core.publisher.Mono<Double> |
zscore(K key,
V member)
Get the score associated with the given member in a sorted set.
|
reactor.core.publisher.Mono<Long> |
zunionstore(K destination,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
reactor.core.publisher.Mono<Long> |
zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
public AbstractRedisReactiveCommands(StatefulConnection<K,V> connection, RedisCodec<K,V> codec)
connection - the connection to operate on.codec - the codec for command encoding.public reactor.core.publisher.Mono<Long> append(K key, V value)
RedisStringReactiveCommandsappend in interface RedisStringReactiveCommands<K,V>key - the keyvalue - the valuepublic reactor.core.publisher.Mono<String> asking()
RedisClusterReactiveCommands-ASK redirection. The client should issue ASKING before to
actually send the command to the target instance. See the Redis Cluster specification for more information.asking in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<String> auth(String password)
RedisClusterReactiveCommandsauth in interface RedisClusterReactiveCommands<K,V>password - the passwordpublic reactor.core.publisher.Mono<String> bgrewriteaof()
RedisServerReactiveCommandsbgrewriteaof in interface RedisServerReactiveCommands<K,V>OK.public reactor.core.publisher.Mono<String> bgsave()
RedisServerReactiveCommandsbgsave in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<Long> bitcount(K key)
RedisStringReactiveCommandsbitcount in interface RedisStringReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Long> bitcount(K key, long start, long end)
RedisStringReactiveCommandsbitcount in interface RedisStringReactiveCommands<K,V>key - the keystart - the startend - the endpublic reactor.core.publisher.Flux<Value<Long>> bitfield(K key, BitFieldArgs args)
RedisStringReactiveCommandsBITFIELD with its subcommands.bitfield in interface RedisStringReactiveCommands<K,V>key - the keyargs - the args containing subcommands, must not be null.public reactor.core.publisher.Mono<Long> bitopAnd(K destination, K... keys)
RedisStringReactiveCommandsbitopAnd in interface RedisStringReactiveCommands<K,V>destination - result key of the operationkeys - operation input key namespublic reactor.core.publisher.Mono<Long> bitopNot(K destination, K source)
RedisStringReactiveCommandsbitopNot in interface RedisStringReactiveCommands<K,V>destination - result key of the operationsource - operation input key namespublic reactor.core.publisher.Mono<Long> bitopOr(K destination, K... keys)
RedisStringReactiveCommandsbitopOr in interface RedisStringReactiveCommands<K,V>destination - result key of the operationkeys - operation input key namespublic reactor.core.publisher.Mono<Long> bitopXor(K destination, K... keys)
RedisStringReactiveCommandsbitopXor in interface RedisStringReactiveCommands<K,V>destination - result key of the operationkeys - operation input key namespublic reactor.core.publisher.Mono<Long> bitpos(K key, boolean state)
RedisStringReactiveCommandsbitpos in interface RedisStringReactiveCommands<K,V>key - the keystate - the stateBITPOS key 0 will return 24, since up to bit 23 all the bits are 1.
Basically the function consider the right of the string as padded with zeros if you look for clear bits and
specify no range or the start argument only.public reactor.core.publisher.Mono<Long> bitpos(K key, boolean state, long start)
RedisStringReactiveCommandsbitpos in interface RedisStringReactiveCommands<K,V>key - the keystate - the bit type: longstart - the start type: longBITPOS key 0 will return 24, since up to bit 23 all the bits are 1.
Basically the function consider the right of the string as padded with zeros if you look for clear bits and
specify no range or the start argument only.public reactor.core.publisher.Mono<Long> bitpos(K key, boolean state, long start, long end)
RedisStringReactiveCommandsbitpos in interface RedisStringReactiveCommands<K,V>key - the keystate - the bit type: longstart - the start type: longend - the end type: longBITPOS key 0 will return 24, since up to bit 23 all the bits are 1.
Basically the function consider the right of the string as padded with zeros if you look for clear bits and
specify no range or the start argument only.
However this behavior changes if you are looking for clear bits and specify a range with both
start and end. If no clear bit is found in the specified range, the function
returns -1 as the user specified a clear range and there are no 0 bits in that range.public reactor.core.publisher.Mono<KeyValue<K,V>> blpop(long timeout, K... keys)
RedisListReactiveCommandsblpop in interface RedisListReactiveCommands<K,V>timeout - the timeout in secondskeys - the keyspublic reactor.core.publisher.Mono<KeyValue<K,V>> brpop(long timeout, K... keys)
RedisListReactiveCommandsbrpop in interface RedisListReactiveCommands<K,V>timeout - the timeout in secondskeys - the keyspublic reactor.core.publisher.Mono<V> brpoplpush(long timeout, K source, K destination)
RedisListReactiveCommandsbrpoplpush in interface RedisListReactiveCommands<K,V>timeout - the timeout in secondssource - the source keydestination - the destination type: keysource and pushed to destination. If
timeout is reached, apublic reactor.core.publisher.Mono<K> clientGetname()
RedisServerReactiveCommandsclientGetname in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> clientKill(String addr)
RedisServerReactiveCommandsclientKill in interface RedisServerReactiveCommands<K,V>addr - ip:portOK if the connection exists and has been closedpublic reactor.core.publisher.Mono<Long> clientKill(KillArgs killArgs)
RedisServerReactiveCommandskillArgsclientKill in interface RedisServerReactiveCommands<K,V>killArgs - args for the kill operationpublic reactor.core.publisher.Mono<String> clientList()
RedisServerReactiveCommandsclientList in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> clientPause(long timeout)
RedisServerReactiveCommandsclientPause in interface RedisServerReactiveCommands<K,V>timeout - the timeout value in millisecondspublic reactor.core.publisher.Mono<String> clientSetname(K name)
RedisServerReactiveCommandsclientSetname in interface RedisServerReactiveCommands<K,V>name - the client nameOK if the connection name was successfully set.public reactor.core.publisher.Mono<Long> clientUnblock(long id, UnblockType type)
RedisServerReactiveCommandsclientUnblock in interface RedisServerReactiveCommands<K,V>id - the client id.type - unblock type.public void close()
public reactor.core.publisher.Mono<String> clusterAddSlots(int... slots)
RedisClusterReactiveCommandsclusterAddSlots in interface RedisClusterReactiveCommands<K,V>slots - one or more slots from 0 to 16384public reactor.core.publisher.Mono<String> clusterBumpepoch()
RedisClusterReactiveCommandsclusterBumpepoch in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<Long> clusterCountFailureReports(String nodeId)
RedisClusterReactiveCommandsclusterCountFailureReports in interface RedisClusterReactiveCommands<K,V>nodeId - the node idpublic reactor.core.publisher.Mono<Long> clusterCountKeysInSlot(int slot)
RedisClusterReactiveCommandsslot.clusterCountKeysInSlot in interface RedisClusterReactiveCommands<K,V>slot - the slotpublic reactor.core.publisher.Mono<String> clusterDelSlots(int... slots)
RedisClusterReactiveCommandsclusterDelSlots in interface RedisClusterReactiveCommands<K,V>slots - one or more slots from 0 to 16384public reactor.core.publisher.Mono<String> clusterFailover(boolean force)
RedisClusterReactiveCommandsclusterFailover in interface RedisClusterReactiveCommands<K,V>force - do not coordinate with master if truepublic reactor.core.publisher.Mono<String> clusterFlushslots()
RedisClusterReactiveCommandsclusterFlushslots in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<String> clusterForget(String nodeId)
RedisClusterReactiveCommandsclusterForget in interface RedisClusterReactiveCommands<K,V>nodeId - the node Idpublic reactor.core.publisher.Flux<K> clusterGetKeysInSlot(int slot, int count)
RedisClusterReactiveCommandsslot.clusterGetKeysInSlot in interface RedisClusterReactiveCommands<K,V>slot - the slotcount - maximal number of keyspublic reactor.core.publisher.Mono<String> clusterInfo()
RedisClusterReactiveCommandsclusterInfo in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<Long> clusterKeyslot(K key)
RedisClusterReactiveCommandsSlotHash.getSlot(byte[]). If not, call Houston and report that we've got a problem.clusterKeyslot in interface RedisClusterReactiveCommands<K,V>key - the key.public reactor.core.publisher.Mono<String> clusterMeet(String ip, int port)
RedisClusterReactiveCommandsclusterMeet in interface RedisClusterReactiveCommands<K,V>ip - IP address of the hostport - port number.public reactor.core.publisher.Mono<String> clusterMyId()
RedisClusterReactiveCommandsclusterMyId in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<String> clusterNodes()
RedisClusterReactiveCommandsClusterPartitionParser.parse(java.lang.String)clusterNodes in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<String> clusterReplicate(String nodeId)
RedisClusterReactiveCommandsnodeId.clusterReplicate in interface RedisClusterReactiveCommands<K,V>nodeId - master node idpublic reactor.core.publisher.Mono<String> clusterReset(boolean hard)
RedisClusterReactiveCommandsclusterReset in interface RedisClusterReactiveCommands<K,V>hard - true for hard reset. Generates a new nodeId and currentEpoch/configEpoch are set to 0public reactor.core.publisher.Mono<String> clusterSaveconfig()
RedisClusterReactiveCommandsclusterSaveconfig in interface RedisClusterReactiveCommands<K,V>OK or an error if the operation fails.public reactor.core.publisher.Mono<String> clusterSetConfigEpoch(long configEpoch)
RedisClusterReactiveCommandsclusterSetConfigEpoch in interface RedisClusterReactiveCommands<K,V>configEpoch - the config epochOK or an error if the operation fails.public reactor.core.publisher.Mono<String> clusterSetSlotImporting(int slot, String nodeId)
RedisClusterReactiveCommandsnodeId.clusterSetSlotImporting in interface RedisClusterReactiveCommands<K,V>slot - the slotnodeId - the id of the node is the master of the slotpublic reactor.core.publisher.Mono<String> clusterSetSlotMigrating(int slot, String nodeId)
RedisClusterReactiveCommandsnodeId. The slot must be handled by
the current node in order to be migrated.clusterSetSlotMigrating in interface RedisClusterReactiveCommands<K,V>slot - the slotnodeId - the id of the node is targeted to become the master for the slotpublic reactor.core.publisher.Mono<String> clusterSetSlotNode(int slot, String nodeId)
RedisClusterReactiveCommandsnodeIdclusterSetSlotNode in interface RedisClusterReactiveCommands<K,V>slot - the slotnodeId - the id of the node that will become the master for the slotpublic reactor.core.publisher.Mono<String> clusterSetSlotStable(int slot)
RedisClusterReactiveCommandsclusterSetSlotStable in interface RedisClusterReactiveCommands<K,V>slot - the slotpublic reactor.core.publisher.Flux<String> clusterSlaves(String nodeId)
RedisClusterReactiveCommandsnodeId. Can be parsed using
ClusterPartitionParser.parse(java.lang.String)clusterSlaves in interface RedisClusterReactiveCommands<K,V>nodeId - node id of the master nodeRedisClusterReactiveCommands.clusterNodes() but one line per slave.public reactor.core.publisher.Flux<Object> clusterSlots()
RedisClusterReactiveCommandsclusterSlots in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Flux<Object> command()
RedisServerReactiveCommandscommand in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<Long> commandCount()
RedisServerReactiveCommandscommandCount in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Flux<Object> commandInfo(String... commands)
RedisServerReactiveCommandscommandInfo in interface RedisServerReactiveCommands<K,V>commands - the commands to query forpublic reactor.core.publisher.Flux<Object> commandInfo(CommandType... commands)
RedisServerReactiveCommandscommandInfo in interface RedisServerReactiveCommands<K,V>commands - the commands to query forpublic reactor.core.publisher.Mono<Map<String,String>> configGet(String parameter)
RedisServerReactiveCommandsconfigGet in interface RedisServerReactiveCommands<K,V>parameter - name of the parameterpublic reactor.core.publisher.Mono<String> configResetstat()
RedisServerReactiveCommandsconfigResetstat in interface RedisServerReactiveCommands<K,V>OK.public reactor.core.publisher.Mono<String> configRewrite()
RedisServerReactiveCommandsconfigRewrite in interface RedisServerReactiveCommands<K,V>OK when the configuration was rewritten properly. Otherwise an error is
returned.public reactor.core.publisher.Mono<String> configSet(String parameter, String value)
RedisServerReactiveCommandsconfigSet in interface RedisServerReactiveCommands<K,V>parameter - the parameter namevalue - the parameter valueOK when the configuration was set properly. Otherwise an error is returned.public <T,R> reactor.core.publisher.Flux<R> createDissolvingFlux(Supplier<RedisCommand<K,V,T>> commandSupplier)
public <T> reactor.core.publisher.Flux<T> createFlux(Supplier<RedisCommand<K,V,T>> commandSupplier)
protected <T> reactor.core.publisher.Mono<T> createMono(CommandType type, CommandOutput<K,V,T> output, CommandArgs<K,V> args)
public <T> reactor.core.publisher.Mono<T> createMono(Supplier<RedisCommand<K,V,T>> commandSupplier)
public reactor.core.publisher.Mono<Long> dbsize()
RedisServerReactiveCommandsdbsize in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> debugCrashAndRecover(Long delay)
RedisServerReactiveCommandsdebugCrashAndRecover in interface RedisServerReactiveCommands<K,V>delay - optional delay in millisecondspublic reactor.core.publisher.Mono<String> debugHtstats(int db)
RedisServerReactiveCommandsdebugHtstats in interface RedisServerReactiveCommands<K,V>db - the database numberpublic reactor.core.publisher.Mono<String> debugObject(K key)
RedisServerReactiveCommandsdebugObject in interface RedisServerReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Void> debugOom()
RedisServerReactiveCommandsdebugOom in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> debugReload()
RedisServerReactiveCommandsdebugReload in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> debugRestart(Long delay)
RedisServerReactiveCommandsdebugRestart in interface RedisServerReactiveCommands<K,V>delay - optional delay in millisecondspublic reactor.core.publisher.Mono<String> debugSdslen(K key)
RedisServerReactiveCommandsdebugSdslen in interface RedisServerReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Void> debugSegfault()
RedisServerReactiveCommandsdebugSegfault in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<Long> decr(K key)
RedisStringReactiveCommandsdecr in interface RedisStringReactiveCommands<K,V>key - the keykey after the decrementpublic reactor.core.publisher.Mono<Long> decrby(K key, long amount)
RedisStringReactiveCommandsdecrby in interface RedisStringReactiveCommands<K,V>key - the keyamount - the decrement type: longkey after the decrementpublic reactor.core.publisher.Mono<Long> del(K... keys)
RedisKeyReactiveCommandsdel in interface RedisKeyReactiveCommands<K,V>del in interface RedisClusterReactiveCommands<K,V>keys - the keyspublic String digest(V script)
RedisScriptingReactiveCommandsdigest in interface RedisScriptingReactiveCommands<K,V>script - script contentpublic reactor.core.publisher.Mono<String> discard()
RedisTransactionalReactiveCommandsdiscard in interface RedisTransactionalReactiveCommands<K,V>OK.public <T> reactor.core.publisher.Flux<T> dispatch(ProtocolKeyword type, CommandOutput<K,V,?> output)
BaseRedisReactiveCommandsdispatch in interface BaseRedisReactiveCommands<K,V>T - response typetype - the command, must not be null.output - the command output, must not be null.public <T> reactor.core.publisher.Flux<T> dispatch(ProtocolKeyword type, CommandOutput<K,V,?> output, CommandArgs<K,V> args)
BaseRedisReactiveCommandsdispatch in interface BaseRedisReactiveCommands<K,V>T - response typetype - the command, must not be null.output - the command output, must not be null.args - the command arguments, must not be null.public reactor.core.publisher.Mono<byte[]> dump(K key)
RedisKeyReactiveCommandsdump in interface RedisKeyReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<V> echo(V msg)
BaseRedisReactiveCommandsecho in interface BaseRedisReactiveCommands<K,V>msg - the message type: valuepublic <T> reactor.core.publisher.Flux<T> eval(String script, ScriptOutputType type, K... keys)
RedisScriptingReactiveCommandseval in interface RedisScriptingReactiveCommands<K,V>T - expected return typescript - Lua 5.1 script.type - output typekeys - key namespublic <T> reactor.core.publisher.Flux<T> eval(String script, ScriptOutputType type, K[] keys, V... values)
RedisScriptingReactiveCommandseval in interface RedisScriptingReactiveCommands<K,V>T - expected return typescript - Lua 5.1 script.type - the typekeys - the keysvalues - the valuespublic <T> reactor.core.publisher.Flux<T> evalsha(String digest, ScriptOutputType type, K... keys)
RedisScriptingReactiveCommandsevalsha in interface RedisScriptingReactiveCommands<K,V>T - expected return typedigest - SHA1 of the scripttype - the typekeys - the keyspublic <T> reactor.core.publisher.Flux<T> evalsha(String digest, ScriptOutputType type, K[] keys, V... values)
RedisScriptingReactiveCommandsevalsha in interface RedisScriptingReactiveCommands<K,V>T - expected return typedigest - SHA1 of the scripttype - the typekeys - the keysvalues - the valuespublic reactor.core.publisher.Mono<TransactionResult> exec()
RedisTransactionalReactiveCommandsexec in interface RedisTransactionalReactiveCommands<K,V>WATCH, EXEC can return apublic reactor.core.publisher.Mono<Long> exists(K... keys)
RedisKeyReactiveCommandsexists in interface RedisKeyReactiveCommands<K,V>keys - the keyspublic reactor.core.publisher.Mono<Boolean> expire(K key, long seconds)
RedisKeyReactiveCommandsexpire in interface RedisKeyReactiveCommands<K,V>key - the keyseconds - the seconds type: longkey does not exist or the timeout could not
be set.public reactor.core.publisher.Mono<Boolean> expireat(K key, long timestamp)
RedisKeyReactiveCommandsexpireat in interface RedisKeyReactiveCommands<K,V>key - the keytimestamp - the timestamp type: posix timekey does not exist or the timeout could not
be set (see: EXPIRE).public reactor.core.publisher.Mono<Boolean> expireat(K key, Date timestamp)
RedisKeyReactiveCommandsexpireat in interface RedisKeyReactiveCommands<K,V>key - the keytimestamp - the timestamp type: posix timekey does not exist or the timeout could not
be set (see: EXPIRE).public void flushCommands()
BaseRedisReactiveCommandsflushCommands in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Mono<String> flushall()
RedisServerReactiveCommandsflushall in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> flushallAsync()
RedisServerReactiveCommandsflushallAsync in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> flushdb()
RedisServerReactiveCommandsflushdb in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> flushdbAsync()
RedisServerReactiveCommandsflushdbAsync in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<Long> geoadd(K key, double longitude, double latitude, V member)
RedisGeoReactiveCommandsgeoadd in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setlongitude - the longitude coordinate according to WGS84latitude - the latitude coordinate according to WGS84member - the member to addpublic reactor.core.publisher.Mono<Long> geoadd(K key, Object... lngLatMember)
RedisGeoReactiveCommandsgeoadd in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setlngLatMember - triplets of double longitude, double latitude and V memberpublic reactor.core.publisher.Mono<Double> geodist(K key, V from, V to, GeoArgs.Unit unit)
RedisGeoReactiveCommandsfrom and to. If one or more elements are missing null is
returned. Default in meters by, otherwise according to unitgeodist in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setfrom - from memberto - to memberunit - distance unitfrom and to. If one or more elements are missing null is
returned.public reactor.core.publisher.Flux<Value<String>> geohash(K key, V... members)
RedisGeoReactiveCommandsgeohash in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setmembers - the membersmembers. Returns null if a member is not found.public reactor.core.publisher.Flux<Value<GeoCoordinates>> geopos(K key, V... members)
RedisGeoReactiveCommandsmembers.geopos in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setmembers - the membersGeoCoordinatess representing the x,y position of each element specified in the arguments. For
missing elements null is returned.public reactor.core.publisher.Flux<V> georadius(K key, double longitude, double latitude, double distance, GeoArgs.Unit unit)
RedisGeoReactiveCommandslongitude and latitude.georadius in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setlongitude - the longitude coordinate according to WGS84latitude - the latitude coordinate according to WGS84distance - radius distanceunit - distance unitpublic reactor.core.publisher.Flux<GeoWithin<V>> georadius(K key, double longitude, double latitude, double distance, GeoArgs.Unit unit, GeoArgs geoArgs)
RedisGeoReactiveCommandslongitude and latitude.georadius in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setlongitude - the longitude coordinate according to WGS84latitude - the latitude coordinate according to WGS84distance - radius distanceunit - distance unitgeoArgs - args to control the resultGeoWithin contains only fields which were requested by GeoArgspublic reactor.core.publisher.Mono<Long> georadius(K key, double longitude, double latitude, double distance, GeoArgs.Unit unit, GeoRadiusStoreArgs<K> geoRadiusStoreArgs)
RedisGeoReactiveCommandsRedisGeoReactiveCommands.georadius(Object, double, double, double, GeoArgs.Unit, GeoArgs) query and store the results in a sorted set.georadius in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setlongitude - the longitude coordinate according to WGS84latitude - the latitude coordinate according to WGS84distance - radius distanceunit - distance unitgeoRadiusStoreArgs - args to store either the resulting elements with their distance or the resulting elements with
their locations a sorted set.protected reactor.core.publisher.Flux<V> georadius_ro(K key, double longitude, double latitude, double distance, GeoArgs.Unit unit)
protected reactor.core.publisher.Flux<GeoWithin<V>> georadius_ro(K key, double longitude, double latitude, double distance, GeoArgs.Unit unit, GeoArgs geoArgs)
public reactor.core.publisher.Flux<V> georadiusbymember(K key, V member, double distance, GeoArgs.Unit unit)
RedisGeoReactiveCommandsmember. The member itself is always contained in the
results.georadiusbymember in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setmember - reference memberdistance - radius distanceunit - distance unitpublic reactor.core.publisher.Flux<GeoWithin<V>> georadiusbymember(K key, V member, double distance, GeoArgs.Unit unit, GeoArgs geoArgs)
RedisGeoReactiveCommandsmember. The member itself is always contained in the
results.georadiusbymember in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setmember - reference memberdistance - radius distanceunit - distance unitgeoArgs - args to control the resultGeoWithin contains only fields which were requested by GeoArgspublic reactor.core.publisher.Mono<Long> georadiusbymember(K key, V member, double distance, GeoArgs.Unit unit, GeoRadiusStoreArgs<K> geoRadiusStoreArgs)
RedisGeoReactiveCommandsRedisGeoReactiveCommands.georadiusbymember(Object, Object, double, GeoArgs.Unit, GeoArgs) query and store the results in a sorted set.georadiusbymember in interface RedisGeoReactiveCommands<K,V>key - the key of the geo setmember - reference memberdistance - radius distanceunit - distance unitgeoRadiusStoreArgs - args to store either the resulting elements with their distance or the resulting elements with
their locations a sorted set.protected reactor.core.publisher.Flux<V> georadiusbymember_ro(K key, V member, double distance, GeoArgs.Unit unit)
protected reactor.core.publisher.Flux<GeoWithin<V>> georadiusbymember_ro(K key, V member, double distance, GeoArgs.Unit unit, GeoArgs geoArgs)
public reactor.core.publisher.Mono<V> get(K key)
RedisStringReactiveCommandsget in interface RedisStringReactiveCommands<K,V>key - the keykey, or null when key does not exist.public StatefulConnection<K,V> getConnection()
public reactor.core.publisher.Mono<Long> getbit(K key, long offset)
RedisStringReactiveCommandsgetbit in interface RedisStringReactiveCommands<K,V>key - the keyoffset - the offset type: longpublic reactor.core.publisher.Mono<V> getrange(K key, long start, long end)
RedisStringReactiveCommandsgetrange in interface RedisStringReactiveCommands<K,V>key - the keystart - the start type: longend - the end type: longpublic reactor.core.publisher.Mono<V> getset(K key, V value)
RedisStringReactiveCommandsgetset in interface RedisStringReactiveCommands<K,V>key - the keyvalue - the valuekey, or null when key did not exist.public reactor.core.publisher.Mono<Long> hdel(K key, K... fields)
RedisHashReactiveCommandshdel in interface RedisHashReactiveCommands<K,V>key - the keyfields - the field type: keypublic reactor.core.publisher.Mono<Boolean> hexists(K key, K field)
RedisHashReactiveCommandshexists in interface RedisHashReactiveCommands<K,V>key - the keyfield - the field type: keyfield. false if the hash does not contain field,
or key does not exist.public reactor.core.publisher.Mono<V> hget(K key, K field)
RedisHashReactiveCommandshget in interface RedisHashReactiveCommands<K,V>key - the keyfield - the field type: keyfield, or null when field is not present
in the hash or key does not exist.public reactor.core.publisher.Mono<Map<K,V>> hgetall(K key)
RedisHashReactiveCommandshgetall in interface RedisHashReactiveCommands<K,V>key - the keykey
does not exist.public reactor.core.publisher.Mono<Long> hgetall(KeyValueStreamingChannel<K,V> channel, K key)
RedisHashReactiveCommandshgetall in interface RedisHashReactiveCommands<K,V>channel - the channelkey - the keypublic reactor.core.publisher.Mono<Long> hincrby(K key, K field, long amount)
RedisHashReactiveCommandshincrby in interface RedisHashReactiveCommands<K,V>key - the keyfield - the field type: keyamount - the increment type: longfield after the increment operation.public reactor.core.publisher.Mono<Double> hincrbyfloat(K key, K field, double amount)
RedisHashReactiveCommandshincrbyfloat in interface RedisHashReactiveCommands<K,V>key - the keyfield - the field type: keyamount - the increment type: doublefield after the increment.public reactor.core.publisher.Flux<K> hkeys(K key)
RedisHashReactiveCommandshkeys in interface RedisHashReactiveCommands<K,V>key - the keykey does not exist.public reactor.core.publisher.Mono<Long> hkeys(KeyStreamingChannel<K> channel, K key)
RedisHashReactiveCommandshkeys in interface RedisHashReactiveCommands<K,V>channel - the channelkey - the keypublic reactor.core.publisher.Mono<Long> hlen(K key)
RedisHashReactiveCommandshlen in interface RedisHashReactiveCommands<K,V>key - the key0 when key does not exist.public reactor.core.publisher.Flux<KeyValue<K,V>> hmget(K key, K... fields)
RedisHashReactiveCommandshmget in interface RedisHashReactiveCommands<K,V>key - the keyfields - the field type: keypublic reactor.core.publisher.Mono<Long> hmget(KeyValueStreamingChannel<K,V> channel, K key, K... fields)
RedisHashReactiveCommandshmget in interface RedisHashReactiveCommands<K,V>channel - the channelkey - the keyfields - the fieldspublic reactor.core.publisher.Mono<String> hmset(K key, Map<K,V> map)
RedisHashReactiveCommandshmset in interface RedisHashReactiveCommands<K,V>key - the keymap - the nullpublic reactor.core.publisher.Mono<MapScanCursor<K,V>> hscan(K key)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<MapScanCursor<K,V>> hscan(K key, ScanArgs scanArgs)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>key - the keyscanArgs - scan argumentspublic reactor.core.publisher.Mono<MapScanCursor<K,V>> hscan(K key, ScanCursor scanCursor, ScanArgs scanArgs)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>key - the keyscanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<MapScanCursor<K,V>> hscan(K key, ScanCursor scanCursor)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>key - the keyscanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<StreamScanCursor> hscan(KeyValueStreamingChannel<K,V> channel, K key)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>channel - streaming channel that receives a call for every key-value pairkey - the keypublic reactor.core.publisher.Mono<StreamScanCursor> hscan(KeyValueStreamingChannel<K,V> channel, K key, ScanArgs scanArgs)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>channel - streaming channel that receives a call for every key-value pairkey - the keyscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> hscan(KeyValueStreamingChannel<K,V> channel, K key, ScanCursor scanCursor, ScanArgs scanArgs)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>channel - streaming channel that receives a call for every key-value pairkey - the keyscanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> hscan(KeyValueStreamingChannel<K,V> channel, K key, ScanCursor scanCursor)
RedisHashReactiveCommandshscan in interface RedisHashReactiveCommands<K,V>channel - streaming channel that receives a call for every key-value pairkey - the keyscanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<Boolean> hset(K key, K field, V value)
RedisHashReactiveCommandshset in interface RedisHashReactiveCommands<K,V>key - the keyfield - the field type: keyvalue - the valuefield is a new field in the hash and value was set. false if
field already exists in the hash and the value was updated.public reactor.core.publisher.Mono<Boolean> hsetnx(K key, K field, V value)
RedisHashReactiveCommandshsetnx in interface RedisHashReactiveCommands<K,V>key - the keyfield - the field type: keyvalue - the value1 if field is a new field in the hash and value was set. 0 if field
already exists in the hash and no operation was performed.public reactor.core.publisher.Mono<Long> hstrlen(K key, K field)
RedisHashReactiveCommandshstrlen in interface RedisHashReactiveCommands<K,V>key - the keyfield - the field type: keyfield value, or 0 when field is not present
in the hash or key does not exist at all.public reactor.core.publisher.Flux<V> hvals(K key)
RedisHashReactiveCommandshvals in interface RedisHashReactiveCommands<K,V>key - the keykey does not exist.public reactor.core.publisher.Mono<Long> hvals(ValueStreamingChannel<V> channel, K key)
RedisHashReactiveCommandshvals in interface RedisHashReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keypublic reactor.core.publisher.Mono<Long> incr(K key)
RedisStringReactiveCommandsincr in interface RedisStringReactiveCommands<K,V>key - the keykey after the incrementpublic reactor.core.publisher.Mono<Long> incrby(K key, long amount)
RedisStringReactiveCommandsincrby in interface RedisStringReactiveCommands<K,V>key - the keyamount - the increment type: longkey after the incrementpublic reactor.core.publisher.Mono<Double> incrbyfloat(K key, double amount)
RedisStringReactiveCommandsincrbyfloat in interface RedisStringReactiveCommands<K,V>key - the keyamount - the increment type: doublekey after the increment.public reactor.core.publisher.Mono<String> info()
RedisServerReactiveCommandsinfo in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> info(String section)
RedisServerReactiveCommandsinfo in interface RedisServerReactiveCommands<K,V>section - the section type: stringpublic boolean isOpen()
isOpen in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Flux<K> keys(K pattern)
RedisKeyReactiveCommandskeys in interface RedisKeyReactiveCommands<K,V>pattern - the pattern type: patternkey (pattern)pattern.public reactor.core.publisher.Mono<Long> keys(KeyStreamingChannel<K> channel, K pattern)
RedisKeyReactiveCommandskeys in interface RedisKeyReactiveCommands<K,V>channel - the channelpattern - the patternpattern.public reactor.core.publisher.Mono<Date> lastsave()
RedisServerReactiveCommandslastsave in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<V> lindex(K key, long index)
RedisListReactiveCommandslindex in interface RedisListReactiveCommands<K,V>key - the keyindex - the index type: longindex is out of range.public reactor.core.publisher.Mono<Long> linsert(K key, boolean before, V pivot, V value)
RedisListReactiveCommandslinsert in interface RedisListReactiveCommands<K,V>key - the keybefore - the beforepivot - the pivotvalue - the value-1 when the value pivot
was not found.public reactor.core.publisher.Mono<Long> llen(K key)
RedisListReactiveCommandsllen in interface RedisListReactiveCommands<K,V>key - the keykey.public reactor.core.publisher.Mono<V> lpop(K key)
RedisListReactiveCommandslpop in interface RedisListReactiveCommands<K,V>key - the keykey does not exist.public reactor.core.publisher.Mono<Long> lpush(K key, V... values)
RedisListReactiveCommandslpush in interface RedisListReactiveCommands<K,V>key - the keyvalues - the valuepublic reactor.core.publisher.Mono<Long> lpushx(K key, V... values)
RedisListReactiveCommandslpushx in interface RedisListReactiveCommands<K,V>key - the keyvalues - the valuespublic reactor.core.publisher.Flux<V> lrange(K key, long start, long stop)
RedisListReactiveCommandslrange in interface RedisListReactiveCommands<K,V>key - the keystart - the start type: longstop - the stop type: longpublic reactor.core.publisher.Mono<Long> lrange(ValueStreamingChannel<V> channel, K key, long start, long stop)
RedisListReactiveCommandslrange in interface RedisListReactiveCommands<K,V>channel - the channelkey - the keystart - the start type: longstop - the stop type: longpublic reactor.core.publisher.Mono<Long> lrem(K key, long count, V value)
RedisListReactiveCommandslrem in interface RedisListReactiveCommands<K,V>key - the keycount - the count type: longvalue - the valuepublic reactor.core.publisher.Mono<String> lset(K key, long index, V value)
RedisListReactiveCommandslset in interface RedisListReactiveCommands<K,V>key - the keyindex - the index type: longvalue - the valuepublic reactor.core.publisher.Mono<String> ltrim(K key, long start, long stop)
RedisListReactiveCommandsltrim in interface RedisListReactiveCommands<K,V>key - the keystart - the start type: longstop - the stop type: longpublic reactor.core.publisher.Flux<KeyValue<K,V>> mget(K... keys)
RedisStringReactiveCommandsmget in interface RedisStringReactiveCommands<K,V>mget in interface RedisClusterReactiveCommands<K,V>keys - the keypublic reactor.core.publisher.Mono<Long> mget(KeyValueStreamingChannel<K,V> channel, K... keys)
RedisStringReactiveCommandsmget in interface RedisStringReactiveCommands<K,V>channel - the channelkeys - the keyspublic reactor.core.publisher.Mono<Long> mget(ValueStreamingChannel<V> channel, Iterable<K> keys)
public reactor.core.publisher.Mono<Long> mget(KeyValueStreamingChannel<K,V> channel, Iterable<K> keys)
public reactor.core.publisher.Mono<String> migrate(String host, int port, K key, int db, long timeout)
RedisKeyReactiveCommandsmigrate in interface RedisKeyReactiveCommands<K,V>host - the hostport - the portkey - the keydb - the databasetimeout - the timeout in millisecondspublic reactor.core.publisher.Mono<String> migrate(String host, int port, int db, long timeout, MigrateArgs<K> migrateArgs)
RedisKeyReactiveCommandsmigrate in interface RedisKeyReactiveCommands<K,V>host - the hostport - the portdb - the databasetimeout - the timeout in millisecondsmigrateArgs - migrate args that allow to configure further optionspublic reactor.core.publisher.Mono<Boolean> move(K key, int db)
RedisKeyReactiveCommandsmove in interface RedisKeyReactiveCommands<K,V>key - the keydb - the db type: longpublic reactor.core.publisher.Mono<String> mset(Map<K,V> map)
RedisStringReactiveCommandsmset in interface RedisStringReactiveCommands<K,V>mset in interface RedisClusterReactiveCommands<K,V>map - the nullOK since MSET can't fail.public reactor.core.publisher.Mono<Boolean> msetnx(Map<K,V> map)
RedisStringReactiveCommandsmsetnx in interface RedisStringReactiveCommands<K,V>msetnx in interface RedisClusterReactiveCommands<K,V>map - the null1 if the all the keys were set. 0 if no key was set (at least one key already existed).public reactor.core.publisher.Mono<String> multi()
RedisTransactionalReactiveCommandsmulti in interface RedisTransactionalReactiveCommands<K,V>OK.public reactor.core.publisher.Mono<String> objectEncoding(K key)
RedisKeyReactiveCommandsobjectEncoding in interface RedisKeyReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Long> objectIdletime(K key)
RedisKeyReactiveCommandsobjectIdletime in interface RedisKeyReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Long> objectRefcount(K key)
RedisKeyReactiveCommandsobjectRefcount in interface RedisKeyReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Boolean> persist(K key)
RedisKeyReactiveCommandspersist in interface RedisKeyReactiveCommands<K,V>key - the keykey does not exist or does not have an
associated timeout.public reactor.core.publisher.Mono<Boolean> pexpire(K key, long milliseconds)
RedisKeyReactiveCommandspexpire in interface RedisKeyReactiveCommands<K,V>key - the keymilliseconds - the milliseconds type: longkey does not exist or the timeout could not
be set.public reactor.core.publisher.Mono<Boolean> pexpireat(K key, Date timestamp)
RedisKeyReactiveCommandspexpireat in interface RedisKeyReactiveCommands<K,V>key - the keytimestamp - the milliseconds-timestamp type: posix timekey does not exist or the timeout could not
be set (see: EXPIRE).public reactor.core.publisher.Mono<Boolean> pexpireat(K key, long timestamp)
RedisKeyReactiveCommandspexpireat in interface RedisKeyReactiveCommands<K,V>key - the keytimestamp - the milliseconds-timestamp type: posix timekey does not exist or the timeout could not
be set (see: EXPIRE).public reactor.core.publisher.Mono<Long> pfadd(K key, V... values)
RedisHLLReactiveCommandspfadd in interface RedisHLLReactiveCommands<K,V>key - the keyvalues - the valuespublic reactor.core.publisher.Mono<Long> pfcount(K... keys)
RedisHLLReactiveCommandspfcount in interface RedisHLLReactiveCommands<K,V>keys - the keysPFADD.public reactor.core.publisher.Mono<String> pfmerge(K destkey, K... sourcekeys)
RedisHLLReactiveCommandspfmerge in interface RedisHLLReactiveCommands<K,V>destkey - the destination keysourcekeys - the source keyOK.public reactor.core.publisher.Mono<String> ping()
BaseRedisReactiveCommandsping in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Mono<String> psetex(K key, long milliseconds, V value)
RedisStringReactiveCommandspsetex in interface RedisStringReactiveCommands<K,V>key - the keymilliseconds - the milliseconds type: longvalue - the valuepublic reactor.core.publisher.Mono<Long> pttl(K key)
RedisKeyReactiveCommandspttl in interface RedisKeyReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Long> publish(K channel, V message)
BaseRedisReactiveCommandspublish in interface BaseRedisReactiveCommands<K,V>channel - the channel type: keymessage - the message type: valuepublic reactor.core.publisher.Flux<K> pubsubChannels()
BaseRedisReactiveCommandspubsubChannels in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Flux<K> pubsubChannels(K channel)
BaseRedisReactiveCommandspubsubChannels in interface BaseRedisReactiveCommands<K,V>channel - the keypublic reactor.core.publisher.Mono<Long> pubsubNumpat()
BaseRedisReactiveCommandspubsubNumpat in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Mono<Map<K,Long>> pubsubNumsub(K... channels)
BaseRedisReactiveCommandspubsubNumsub in interface BaseRedisReactiveCommands<K,V>channels - channel keyspublic reactor.core.publisher.Mono<String> quit()
BaseRedisReactiveCommandsStatefulConnection.close() to close connections and
release resources.quit in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Mono<V> randomkey()
RedisKeyReactiveCommandsrandomkey in interface RedisKeyReactiveCommands<K,V>public reactor.core.publisher.Mono<String> readOnly()
BaseRedisReactiveCommandsreadOnly in interface BaseRedisReactiveCommands<K,V>readOnly in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<String> readWrite()
BaseRedisReactiveCommandsreadWrite in interface BaseRedisReactiveCommands<K,V>readWrite in interface RedisClusterReactiveCommands<K,V>public reactor.core.publisher.Mono<String> rename(K key, K newKey)
RedisKeyReactiveCommandsrename in interface RedisKeyReactiveCommands<K,V>key - the keynewKey - the newkey type: keypublic reactor.core.publisher.Mono<Boolean> renamenx(K key, K newKey)
RedisKeyReactiveCommandsrenamenx in interface RedisKeyReactiveCommands<K,V>key - the keynewKey - the newkey type: keykey was renamed to newkey. false if newkey already exists.public void reset()
BaseRedisReactiveCommandsreset in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Mono<String> restore(K key, long ttl, byte[] value)
RedisKeyReactiveCommandsrestore in interface RedisKeyReactiveCommands<K,V>key - the keyttl - the ttl type: longvalue - the serialized-value type: stringpublic reactor.core.publisher.Mono<String> restore(K key, byte[] value, RestoreArgs args)
RedisKeyReactiveCommandsrestore in interface RedisKeyReactiveCommands<K,V>key - the keyvalue - the serialized-value type: stringargs - the RestoreArgs, must not be null.public reactor.core.publisher.Flux<Object> role()
BaseRedisReactiveCommandsrole in interface BaseRedisReactiveCommands<K,V>public reactor.core.publisher.Mono<V> rpop(K key)
RedisListReactiveCommandsrpop in interface RedisListReactiveCommands<K,V>key - the keykey does not exist.public reactor.core.publisher.Mono<V> rpoplpush(K source, K destination)
RedisListReactiveCommandsrpoplpush in interface RedisListReactiveCommands<K,V>source - the source keydestination - the destination type: keypublic reactor.core.publisher.Mono<Long> rpush(K key, V... values)
RedisListReactiveCommandsrpush in interface RedisListReactiveCommands<K,V>key - the keyvalues - the valuepublic reactor.core.publisher.Mono<Long> rpushx(K key, V... values)
RedisListReactiveCommandsrpushx in interface RedisListReactiveCommands<K,V>key - the keyvalues - the valuespublic reactor.core.publisher.Mono<Long> sadd(K key, V... members)
RedisSetReactiveCommandssadd in interface RedisSetReactiveCommands<K,V>key - the keymembers - the member type: valuepublic reactor.core.publisher.Mono<String> save()
RedisServerReactiveCommandssave in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<KeyScanCursor<K>> scan()
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>public reactor.core.publisher.Mono<KeyScanCursor<K>> scan(ScanArgs scanArgs)
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>scanArgs - scan argumentspublic reactor.core.publisher.Mono<KeyScanCursor<K>> scan(ScanCursor scanCursor, ScanArgs scanArgs)
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>scanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<KeyScanCursor<K>> scan(ScanCursor scanCursor)
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>scanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<StreamScanCursor> scan(KeyStreamingChannel<K> channel)
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>channel - streaming channel that receives a call for every keypublic reactor.core.publisher.Mono<StreamScanCursor> scan(KeyStreamingChannel<K> channel, ScanArgs scanArgs)
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>channel - streaming channel that receives a call for every keyscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> scan(KeyStreamingChannel<K> channel, ScanCursor scanCursor, ScanArgs scanArgs)
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>channel - streaming channel that receives a call for every keyscanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> scan(KeyStreamingChannel<K> channel, ScanCursor scanCursor)
RedisKeyReactiveCommandsscan in interface RedisKeyReactiveCommands<K,V>channel - streaming channel that receives a call for every keyscanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<Long> scard(K key)
RedisSetReactiveCommandsscard in interface RedisSetReactiveCommands<K,V>key - the keykey does not
exist.public reactor.core.publisher.Flux<Boolean> scriptExists(String... digests)
RedisScriptingReactiveCommandsscriptExists in interface RedisScriptingReactiveCommands<K,V>digests - script digestspublic reactor.core.publisher.Mono<String> scriptFlush()
RedisScriptingReactiveCommandsscriptFlush in interface RedisScriptingReactiveCommands<K,V>public reactor.core.publisher.Mono<String> scriptKill()
RedisScriptingReactiveCommandsscriptKill in interface RedisScriptingReactiveCommands<K,V>public reactor.core.publisher.Mono<String> scriptLoad(V script)
RedisScriptingReactiveCommandsscriptLoad in interface RedisScriptingReactiveCommands<K,V>script - script contentpublic reactor.core.publisher.Flux<V> sdiff(K... keys)
RedisSetReactiveCommandssdiff in interface RedisSetReactiveCommands<K,V>keys - the keypublic reactor.core.publisher.Mono<Long> sdiff(ValueStreamingChannel<V> channel, K... keys)
RedisSetReactiveCommandssdiff in interface RedisSetReactiveCommands<K,V>channel - the channelkeys - the keyspublic reactor.core.publisher.Mono<Long> sdiffstore(K destination, K... keys)
RedisSetReactiveCommandssdiffstore in interface RedisSetReactiveCommands<K,V>destination - the destination type: keykeys - the keypublic reactor.core.publisher.Mono<String> select(int db)
public reactor.core.publisher.Mono<String> set(K key, V value)
RedisStringReactiveCommandsset in interface RedisStringReactiveCommands<K,V>key - the keyvalue - the valueOK if SET was executed correctly.public reactor.core.publisher.Mono<String> set(K key, V value, SetArgs setArgs)
RedisStringReactiveCommandsset in interface RedisStringReactiveCommands<K,V>key - the keyvalue - the valuesetArgs - the setArgsOK if SET was executed correctly.public void setAutoFlushCommands(boolean autoFlush)
BaseRedisReactiveCommandsBaseRedisReactiveCommands.flushCommands() is
issued. After calling BaseRedisReactiveCommands.flushCommands() commands are sent to the transport and executed by Redis.setAutoFlushCommands in interface BaseRedisReactiveCommands<K,V>autoFlush - state of autoFlush.public void setTimeout(Duration timeout)
RedisClusterReactiveCommandssetTimeout in interface RedisClusterReactiveCommands<K,V>timeout - the timeout valuepublic void setTimeout(long timeout,
TimeUnit unit)
RedisClusterReactiveCommandssetTimeout in interface RedisClusterReactiveCommands<K,V>timeout - the timeout valueunit - the unit of the timeout valuepublic reactor.core.publisher.Mono<Long> setbit(K key, long offset, int value)
RedisStringReactiveCommandssetbit in interface RedisStringReactiveCommands<K,V>key - the keyoffset - the offset type: longvalue - the value type: stringpublic reactor.core.publisher.Mono<String> setex(K key, long seconds, V value)
RedisStringReactiveCommandssetex in interface RedisStringReactiveCommands<K,V>key - the keyseconds - the seconds type: longvalue - the valuepublic reactor.core.publisher.Mono<Boolean> setnx(K key, V value)
RedisStringReactiveCommandssetnx in interface RedisStringReactiveCommands<K,V>key - the keyvalue - the value1 if the key was set 0 if the key was not setpublic reactor.core.publisher.Mono<Long> setrange(K key, long offset, V value)
RedisStringReactiveCommandssetrange in interface RedisStringReactiveCommands<K,V>key - the keyoffset - the offset type: longvalue - the valuepublic reactor.core.publisher.Mono<Void> shutdown(boolean save)
RedisServerReactiveCommandsshutdown in interface RedisServerReactiveCommands<K,V>save - true force save operationpublic reactor.core.publisher.Flux<V> sinter(K... keys)
RedisSetReactiveCommandssinter in interface RedisSetReactiveCommands<K,V>keys - the keypublic reactor.core.publisher.Mono<Long> sinter(ValueStreamingChannel<V> channel, K... keys)
RedisSetReactiveCommandssinter in interface RedisSetReactiveCommands<K,V>channel - the channelkeys - the keyspublic reactor.core.publisher.Mono<Long> sinterstore(K destination, K... keys)
RedisSetReactiveCommandssinterstore in interface RedisSetReactiveCommands<K,V>destination - the destination type: keykeys - the keypublic reactor.core.publisher.Mono<Boolean> sismember(K key, V member)
RedisSetReactiveCommandssismember in interface RedisSetReactiveCommands<K,V>key - the keymember - the member type: valuekey does not exist.public reactor.core.publisher.Mono<String> slaveof(String host, int port)
RedisServerReactiveCommandsslaveof in interface RedisServerReactiveCommands<K,V>host - the host type: stringport - the port type: stringpublic reactor.core.publisher.Mono<String> slaveofNoOne()
RedisServerReactiveCommandsslaveofNoOne in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Flux<Object> slowlogGet()
RedisServerReactiveCommandsslowlogGet in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Flux<Object> slowlogGet(int count)
RedisServerReactiveCommandsslowlogGet in interface RedisServerReactiveCommands<K,V>count - the countpublic reactor.core.publisher.Mono<Long> slowlogLen()
RedisServerReactiveCommandsslowlogLen in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<String> slowlogReset()
RedisServerReactiveCommandsslowlogReset in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Flux<V> smembers(K key)
RedisSetReactiveCommandssmembers in interface RedisSetReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Long> smembers(ValueStreamingChannel<V> channel, K key)
RedisSetReactiveCommandssmembers in interface RedisSetReactiveCommands<K,V>channel - the channelkey - the keyspublic reactor.core.publisher.Mono<Boolean> smove(K source, K destination, V member)
RedisSetReactiveCommandssmove in interface RedisSetReactiveCommands<K,V>source - the source keydestination - the destination type: keymember - the member type: valuesource and no
operation was performed.public reactor.core.publisher.Flux<V> sort(K key)
RedisKeyReactiveCommandssort in interface RedisKeyReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<Long> sort(ValueStreamingChannel<V> channel, K key)
RedisKeyReactiveCommandssort in interface RedisKeyReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keypublic reactor.core.publisher.Flux<V> sort(K key, SortArgs sortArgs)
RedisKeyReactiveCommandssort in interface RedisKeyReactiveCommands<K,V>key - the keysortArgs - sort argumentspublic reactor.core.publisher.Mono<Long> sort(ValueStreamingChannel<V> channel, K key, SortArgs sortArgs)
RedisKeyReactiveCommandssort in interface RedisKeyReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keysortArgs - sort argumentspublic reactor.core.publisher.Mono<Long> sortStore(K key, SortArgs sortArgs, K destination)
RedisKeyReactiveCommandssortStore in interface RedisKeyReactiveCommands<K,V>key - the keysortArgs - sort argumentsdestination - the destination key to store sort resultspublic reactor.core.publisher.Mono<V> spop(K key)
RedisSetReactiveCommandsspop in interface RedisSetReactiveCommands<K,V>key - the keykey does not exist.public reactor.core.publisher.Flux<V> spop(K key, long count)
RedisSetReactiveCommandsspop in interface RedisSetReactiveCommands<K,V>key - the keycount - number of members to popkey does not exist.public reactor.core.publisher.Mono<V> srandmember(K key)
RedisSetReactiveCommandssrandmember in interface RedisSetReactiveCommands<K,V>key - the keycount argument the command returns a Bulk Reply with the
randomly selected element, or null when key does not exist.public reactor.core.publisher.Flux<V> srandmember(K key, long count)
RedisSetReactiveCommandssrandmember in interface RedisSetReactiveCommands<K,V>key - the keycount - the count type: longcount argument the command returns a Bulk Reply
with the randomly selected element, or null when key does not exist.public reactor.core.publisher.Mono<Long> srandmember(ValueStreamingChannel<V> channel, K key, long count)
RedisSetReactiveCommandssrandmember in interface RedisSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keycount - the countpublic reactor.core.publisher.Mono<Long> srem(K key, V... members)
RedisSetReactiveCommandssrem in interface RedisSetReactiveCommands<K,V>key - the keymembers - the member type: valuepublic reactor.core.publisher.Mono<ValueScanCursor<V>> sscan(K key)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<ValueScanCursor<V>> sscan(K key, ScanArgs scanArgs)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>key - the keyscanArgs - scan argumentspublic reactor.core.publisher.Mono<ValueScanCursor<V>> sscan(K key, ScanCursor scanCursor, ScanArgs scanArgs)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>key - the keyscanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<ValueScanCursor<V>> sscan(K key, ScanCursor scanCursor)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>key - the keyscanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<StreamScanCursor> sscan(ValueStreamingChannel<V> channel, K key)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keypublic reactor.core.publisher.Mono<StreamScanCursor> sscan(ValueStreamingChannel<V> channel, K key, ScanArgs scanArgs)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keyscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> sscan(ValueStreamingChannel<V> channel, K key, ScanCursor scanCursor, ScanArgs scanArgs)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keyscanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> sscan(ValueStreamingChannel<V> channel, K key, ScanCursor scanCursor)
RedisSetReactiveCommandssscan in interface RedisSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keyscanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<Long> strlen(K key)
RedisStringReactiveCommandsstrlen in interface RedisStringReactiveCommands<K,V>key - the keykey, or 0 when key does not exist.public reactor.core.publisher.Flux<V> sunion(K... keys)
RedisSetReactiveCommandssunion in interface RedisSetReactiveCommands<K,V>keys - the keypublic reactor.core.publisher.Mono<Long> sunion(ValueStreamingChannel<V> channel, K... keys)
RedisSetReactiveCommandssunion in interface RedisSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekeys - the keyspublic reactor.core.publisher.Mono<Long> sunionstore(K destination, K... keys)
RedisSetReactiveCommandssunionstore in interface RedisSetReactiveCommands<K,V>destination - the destination type: keykeys - the keypublic reactor.core.publisher.Mono<String> swapdb(int db1, int db2)
public reactor.core.publisher.Flux<V> time()
RedisServerReactiveCommandstime in interface RedisServerReactiveCommands<K,V>public reactor.core.publisher.Mono<Long> touch(K... keys)
RedisKeyReactiveCommandstouch in interface RedisKeyReactiveCommands<K,V>keys - the keyspublic reactor.core.publisher.Mono<Long> ttl(K key)
RedisKeyReactiveCommandsttl in interface RedisKeyReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<String> type(K key)
RedisKeyReactiveCommandstype in interface RedisKeyReactiveCommands<K,V>key - the keykey, or none when key does not exist.public reactor.core.publisher.Mono<Long> unlink(K... keys)
RedisKeyReactiveCommandsunlink in interface RedisKeyReactiveCommands<K,V>keys - the keyspublic reactor.core.publisher.Mono<String> unwatch()
RedisTransactionalReactiveCommandsunwatch in interface RedisTransactionalReactiveCommands<K,V>OK.public reactor.core.publisher.Mono<Long> waitForReplication(int replicas, long timeout)
BaseRedisReactiveCommandswaitForReplication in interface BaseRedisReactiveCommands<K,V>replicas - minimum number of replicastimeout - timeout in millisecondspublic reactor.core.publisher.Mono<String> watch(K... keys)
RedisTransactionalReactiveCommandswatch in interface RedisTransactionalReactiveCommands<K,V>keys - the keyOK.public reactor.core.publisher.Mono<Long> xack(K key, K group, String... messageIds)
RedisStreamReactiveCommandsxack in interface RedisStreamReactiveCommands<K,V>key - the stream key.group - name of the consumer group.messageIds - message Id's to acknowledge.public reactor.core.publisher.Mono<String> xadd(K key, Map<K,V> body)
RedisStreamReactiveCommandskey.xadd in interface RedisStreamReactiveCommands<K,V>key - the stream key.body - message body.public reactor.core.publisher.Mono<String> xadd(K key, XAddArgs args, Map<K,V> body)
RedisStreamReactiveCommandskey.xadd in interface RedisStreamReactiveCommands<K,V>key - the stream key.body - message body.public reactor.core.publisher.Mono<String> xadd(K key, Object... keysAndValues)
RedisStreamReactiveCommandskey.xadd in interface RedisStreamReactiveCommands<K,V>key - the stream key.keysAndValues - message body.public reactor.core.publisher.Mono<String> xadd(K key, XAddArgs args, Object... keysAndValues)
RedisStreamReactiveCommandskey.xadd in interface RedisStreamReactiveCommands<K,V>key - the stream key.keysAndValues - message body.public reactor.core.publisher.Flux<StreamMessage<K,V>> xclaim(K key, Consumer<K> consumer, long minIdleTime, String... messageIds)
RedisStreamReactiveCommandsxclaim in interface RedisStreamReactiveCommands<K,V>key - the stream key.consumer - consumer identified by group name and consumer key.messageIds - message Id's to claim.StreamMessagepublic reactor.core.publisher.Flux<StreamMessage<K,V>> xclaim(K key, Consumer<K> consumer, XClaimArgs args, String... messageIds)
RedisStreamReactiveCommandsxclaim in interface RedisStreamReactiveCommands<K,V>key - the stream key.consumer - consumer identified by group name and consumer key.messageIds - message Id's to claim.StreamMessagepublic reactor.core.publisher.Mono<Long> xdel(K key, String... messageIds)
RedisStreamReactiveCommandsxdel in interface RedisStreamReactiveCommands<K,V>key - the stream key.messageIds - stream message Id's.public reactor.core.publisher.Mono<String> xgroupCreate(XReadArgs.StreamOffset<K> streamOffset, K group)
RedisStreamReactiveCommandsxgroupCreate in interface RedisStreamReactiveCommands<K,V>streamOffset - name of the stream containing the offset to set.group - name of the consumer group.public reactor.core.publisher.Mono<Boolean> xgroupDelconsumer(K key, Consumer<K> consumer)
RedisStreamReactiveCommandsxgroupDelconsumer in interface RedisStreamReactiveCommands<K,V>key - the stream key.consumer - consumer identified by group name and consumer key.public reactor.core.publisher.Mono<Boolean> xgroupDestroy(K key, K group)
RedisStreamReactiveCommandsxgroupDestroy in interface RedisStreamReactiveCommands<K,V>key - the stream key.group - name of the consumer group.public reactor.core.publisher.Mono<String> xgroupSetid(XReadArgs.StreamOffset<K> streamOffset, K group)
RedisStreamReactiveCommandsgroup id.xgroupSetid in interface RedisStreamReactiveCommands<K,V>streamOffset - name of the stream containing the offset to set.group - name of the consumer group.public reactor.core.publisher.Mono<Long> xlen(K key)
RedisStreamReactiveCommandsxlen in interface RedisStreamReactiveCommands<K,V>key - the stream key.public reactor.core.publisher.Flux<Object> xpending(K key, K group)
RedisStreamReactiveCommandsgroup.xpending in interface RedisStreamReactiveCommands<K,V>key - the stream key.group - name of the consumer group.public reactor.core.publisher.Flux<Object> xpending(K key, K group, Range<String> range, Limit limit)
RedisStreamReactiveCommandsRange.xpending in interface RedisStreamReactiveCommands<K,V>key - the stream key.group - name of the consumer group.range - must not be null.limit - must not be null.public reactor.core.publisher.Flux<Object> xpending(K key, Consumer<K> consumer, Range<String> range, Limit limit)
RedisStreamReactiveCommandsRange.xpending in interface RedisStreamReactiveCommands<K,V>key - the stream key.consumer - consumer identified by group name and consumer key.range - must not be null.limit - must not be null.public reactor.core.publisher.Flux<StreamMessage<K,V>> xrange(K key, Range<String> range)
RedisStreamReactiveCommandsRange.xrange in interface RedisStreamReactiveCommands<K,V>key - the stream key.range - must not be null.public reactor.core.publisher.Flux<StreamMessage<K,V>> xrange(K key, Range<String> range, Limit limit)
RedisStreamReactiveCommandsxrange in interface RedisStreamReactiveCommands<K,V>key - the stream key.range - must not be null.limit - must not be null.public reactor.core.publisher.Flux<StreamMessage<K,V>> xread(XReadArgs.StreamOffset<K>... streams)
RedisStreamReactiveCommandsXReadArgs.StreamOffsets.xread in interface RedisStreamReactiveCommands<K,V>streams - the streams to read from.public reactor.core.publisher.Flux<StreamMessage<K,V>> xread(XReadArgs args, XReadArgs.StreamOffset<K>... streams)
RedisStreamReactiveCommandsXReadArgs.StreamOffsets.xread in interface RedisStreamReactiveCommands<K,V>args - read arguments.streams - the streams to read from.public reactor.core.publisher.Flux<StreamMessage<K,V>> xreadgroup(Consumer<K> consumer, XReadArgs.StreamOffset<K>... streams)
RedisStreamReactiveCommandsXReadArgs.StreamOffsets using a consumer group.xreadgroup in interface RedisStreamReactiveCommands<K,V>consumer - consumer/group.streams - the streams to read from.public reactor.core.publisher.Flux<StreamMessage<K,V>> xreadgroup(Consumer<K> consumer, XReadArgs args, XReadArgs.StreamOffset<K>... streams)
RedisStreamReactiveCommandsXReadArgs.StreamOffsets using a consumer group.xreadgroup in interface RedisStreamReactiveCommands<K,V>consumer - consumer/group.args - read arguments.streams - the streams to read from.public reactor.core.publisher.Flux<StreamMessage<K,V>> xrevrange(K key, Range<String> range)
RedisStreamReactiveCommandsRange in reverse order.xrevrange in interface RedisStreamReactiveCommands<K,V>key - the stream key.range - must not be null.public reactor.core.publisher.Flux<StreamMessage<K,V>> xrevrange(K key, Range<String> range, Limit limit)
RedisStreamReactiveCommandsxrevrange in interface RedisStreamReactiveCommands<K,V>key - the stream key.range - must not be null.limit - must not be null.public reactor.core.publisher.Mono<Long> xtrim(K key, long count)
RedisStreamReactiveCommandscount elements.xtrim in interface RedisStreamReactiveCommands<K,V>key - the stream key.count - length of the stream.public reactor.core.publisher.Mono<Long> xtrim(K key, boolean approximateTrimming, long count)
RedisStreamReactiveCommandscount elements.xtrim in interface RedisStreamReactiveCommands<K,V>key - the stream key.approximateTrimming - true to trim approximately using the ~ flag.count - length of the stream.public reactor.core.publisher.Mono<KeyValue<K,ScoredValue<V>>> bzpopmin(long timeout, K... keys)
RedisSortedSetReactiveCommandsbzpopmin in interface RedisSortedSetReactiveCommands<K,V>timeout - the timeout in seconds.keys - the keys.public reactor.core.publisher.Mono<KeyValue<K,ScoredValue<V>>> bzpopmax(long timeout, K... keys)
RedisSortedSetReactiveCommandsbzpopmax in interface RedisSortedSetReactiveCommands<K,V>timeout - the timeout in seconds.keys - the keys.public reactor.core.publisher.Mono<Long> zadd(K key, double score, V member)
RedisSortedSetReactiveCommandszadd in interface RedisSortedSetReactiveCommands<K,V>key - the keyscore - the scoremember - the memberpublic reactor.core.publisher.Mono<Long> zadd(K key, Object... scoresAndValues)
RedisSortedSetReactiveCommandszadd in interface RedisSortedSetReactiveCommands<K,V>key - the keyscoresAndValues - the scoresAndValue tuples (score,value,score,value,...)public reactor.core.publisher.Mono<Long> zadd(K key, ScoredValue<V>... scoredValues)
RedisSortedSetReactiveCommandszadd in interface RedisSortedSetReactiveCommands<K,V>key - the keyscoredValues - the scored valuespublic reactor.core.publisher.Mono<Long> zadd(K key, ZAddArgs zAddArgs, double score, V member)
RedisSortedSetReactiveCommandszadd in interface RedisSortedSetReactiveCommands<K,V>key - the keyzAddArgs - arguments for zaddscore - the scoremember - the memberpublic reactor.core.publisher.Mono<Long> zadd(K key, ZAddArgs zAddArgs, Object... scoresAndValues)
RedisSortedSetReactiveCommandszadd in interface RedisSortedSetReactiveCommands<K,V>key - the keyzAddArgs - arguments for zaddscoresAndValues - the scoresAndValue tuples (score,value,score,value,...)public reactor.core.publisher.Mono<Long> zadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... scoredValues)
RedisSortedSetReactiveCommandszadd in interface RedisSortedSetReactiveCommands<K,V>key - the kezAddArgs - arguments for zaddscoredValues - the scored valuespublic reactor.core.publisher.Mono<Double> zaddincr(K key, double score, V member)
RedisSortedSetReactiveCommandsINCR option. ZADD
acts like ZINCRBY.zaddincr in interface RedisSortedSetReactiveCommands<K,V>key - the keyscore - the scoremember - the memberpublic reactor.core.publisher.Mono<Double> zaddincr(K key, ZAddArgs zAddArgs, double score, V member)
RedisSortedSetReactiveCommandsINCR option. ZADD
acts like ZINCRBY.zaddincr in interface RedisSortedSetReactiveCommands<K,V>key - the keyzAddArgs - arguments for zaddscore - the scoremember - the memberpublic reactor.core.publisher.Mono<Long> zcard(K key)
RedisSortedSetReactiveCommandszcard in interface RedisSortedSetReactiveCommands<K,V>key - the keykey
does not exist.public reactor.core.publisher.Mono<Long> zcount(K key, double min, double max)
RedisSortedSetReactiveCommandszcount in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zcount(K key, String min, String max)
RedisSortedSetReactiveCommandszcount in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zcount(K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandsRange.zcount in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Mono<Double> zincrby(K key, double amount, V member)
RedisSortedSetReactiveCommandszincrby in interface RedisSortedSetReactiveCommands<K,V>key - the keyamount - the increment type: longmember - the member type: valuemember (a double precision floating point number), represented
as string.public reactor.core.publisher.Mono<Long> zinterstore(K destination, K... keys)
RedisSortedSetReactiveCommandszinterstore in interface RedisSortedSetReactiveCommands<K,V>destination - the destinationkeys - the keysdestination.public reactor.core.publisher.Mono<Long> zinterstore(K destination, ZStoreArgs storeArgs, K... keys)
RedisSortedSetReactiveCommandszinterstore in interface RedisSortedSetReactiveCommands<K,V>destination - the destinationstoreArgs - the storeArgskeys - the keysdestination.public reactor.core.publisher.Mono<Long> zlexcount(K key, String min, String max)
RedisSortedSetReactiveCommandszlexcount in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zlexcount(K key, Range<? extends V> range)
RedisSortedSetReactiveCommandszlexcount in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Mono<ScoredValue<V>> zpopmin(K key)
RedisSortedSetReactiveCommandszpopmin in interface RedisSortedSetReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Flux<ScoredValue<V>> zpopmin(K key, long count)
RedisSortedSetReactiveCommandszpopmin in interface RedisSortedSetReactiveCommands<K,V>key - the key.count - the number of elements to return.public reactor.core.publisher.Mono<ScoredValue<V>> zpopmax(K key)
RedisSortedSetReactiveCommandszpopmax in interface RedisSortedSetReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Flux<ScoredValue<V>> zpopmax(K key, long count)
RedisSortedSetReactiveCommandszpopmax in interface RedisSortedSetReactiveCommands<K,V>key - the key.count - the number of elements to return.public reactor.core.publisher.Flux<V> zrange(K key, long start, long stop)
RedisSortedSetReactiveCommandszrange in interface RedisSortedSetReactiveCommands<K,V>key - the keystart - the startstop - the stoppublic reactor.core.publisher.Mono<Long> zrange(ValueStreamingChannel<V> channel, K key, long start, long stop)
RedisSortedSetReactiveCommandszrange in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keystart - the startstop - the stoppublic reactor.core.publisher.Flux<ScoredValue<V>> zrangeWithScores(K key, long start, long stop)
RedisSortedSetReactiveCommandszrangeWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keystart - the startstop - the stoppublic reactor.core.publisher.Mono<Long> zrangeWithScores(ScoredValueStreamingChannel<V> channel, K key, long start, long stop)
RedisSortedSetReactiveCommandszrangeWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keystart - the startstop - the stoppublic reactor.core.publisher.Flux<V> zrangebylex(K key, String min, String max)
RedisSortedSetReactiveCommandszrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Flux<V> zrangebylex(K key, Range<? extends V> range)
RedisSortedSetReactiveCommandszrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Flux<V> zrangebylex(K key, String min, String max, long offset, long count)
RedisSortedSetReactiveCommandszrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<V> zrangebylex(K key, Range<? extends V> range, Limit limit)
RedisSortedSetReactiveCommandszrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Flux<V> zrangebyscore(K key, double min, double max)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Flux<V> zrangebyscore(K key, String min, String max)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Flux<V> zrangebyscore(K key, double min, double max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<V> zrangebyscore(K key, String min, String max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<V> zrangebyscore(K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Flux<V> zrangebyscore(K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, double min, double max)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, String min, String max)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, double min, double max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keyrange - the rangepublic reactor.core.publisher.Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, String min, String max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double min, double max)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String min, String max)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keyrange - the rangepublic reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double min, double max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String min, String max, long offset, long count)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymin - min scoremax - max scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Mono<Long> zrank(K key, V member)
RedisSortedSetReactiveCommandszrank in interface RedisSortedSetReactiveCommands<K,V>key - the keymember - the member type: valuemember. If member does not exist in the sorted set or key
does not exist,public reactor.core.publisher.Mono<Long> zrem(K key, V... members)
RedisSortedSetReactiveCommandszrem in interface RedisSortedSetReactiveCommands<K,V>key - the keymembers - the member type: valuepublic reactor.core.publisher.Mono<Long> zremrangebylex(K key, String min, String max)
RedisSortedSetReactiveCommandszremrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zremrangebylex(K key, Range<? extends V> range)
RedisSortedSetReactiveCommandszremrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Mono<Long> zremrangebyrank(K key, long start, long stop)
RedisSortedSetReactiveCommandszremrangebyrank in interface RedisSortedSetReactiveCommands<K,V>key - the keystart - the start type: longstop - the stop type: longpublic reactor.core.publisher.Mono<Long> zremrangebyscore(K key, double min, double max)
RedisSortedSetReactiveCommandszremrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zremrangebyscore(K key, String min, String max)
RedisSortedSetReactiveCommandszremrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymin - min scoremax - max scorepublic reactor.core.publisher.Mono<Long> zremrangebyscore(K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszremrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Flux<V> zrevrange(K key, long start, long stop)
RedisSortedSetReactiveCommandszrevrange in interface RedisSortedSetReactiveCommands<K,V>key - the keystart - the startstop - the stoppublic reactor.core.publisher.Mono<Long> zrevrange(ValueStreamingChannel<V> channel, K key, long start, long stop)
RedisSortedSetReactiveCommandszrevrange in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keystart - the startstop - the stoppublic reactor.core.publisher.Flux<ScoredValue<V>> zrevrangeWithScores(K key, long start, long stop)
RedisSortedSetReactiveCommandszrevrangeWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keystart - the startstop - the stoppublic reactor.core.publisher.Mono<Long> zrevrangeWithScores(ScoredValueStreamingChannel<V> channel, K key, long start, long stop)
RedisSortedSetReactiveCommandszrevrangeWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keystart - the startstop - the stoppublic reactor.core.publisher.Flux<V> zrevrangebylex(K key, Range<? extends V> range)
RedisSortedSetReactiveCommandszrevrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Flux<V> zrevrangebylex(K key, Range<? extends V> range, Limit limit)
RedisSortedSetReactiveCommandszrevrangebylex in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Flux<V> zrevrangebyscore(K key, double max, double min)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scorepublic reactor.core.publisher.Flux<V> zrevrangebyscore(K key, String max, String min)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scorepublic reactor.core.publisher.Flux<V> zrevrangebyscore(K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Flux<V> zrevrangebyscore(K key, double max, double min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scoreoffset - the withscorescount - the nullpublic reactor.core.publisher.Flux<V> zrevrangebyscore(K key, String max, String min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<V> zrevrangebyscore(K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymax - max scoremin - min scorepublic reactor.core.publisher.Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymax - max scoremin - min scorepublic reactor.core.publisher.Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keyrange - the rangepublic reactor.core.publisher.Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymax - max scoremin - min scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keymax - max scoremin - min scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrevrangebyscore in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every valuekey - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scorepublic reactor.core.publisher.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scorepublic reactor.core.publisher.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangepublic reactor.core.publisher.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keymax - max scoremin - min scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>key - the keyrange - the rangelimit - limitpublic reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double max, double min)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymax - max scoremin - min scorepublic reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String max, String min)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymax - max scoremin - min scorepublic reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keyrange - the rangepublic reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymax - max scoremin - min scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keymax - max scoremin - min scoreoffset - the offsetcount - the countpublic reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
RedisSortedSetReactiveCommandszrevrangebyscoreWithScores in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keyrange - the rangelimit - the limitpublic reactor.core.publisher.Mono<Long> zrevrank(K key, V member)
RedisSortedSetReactiveCommandszrevrank in interface RedisSortedSetReactiveCommands<K,V>key - the keymember - the member type: valuemember. If member does not exist in the sorted set or key
does not exist,public reactor.core.publisher.Mono<ScoredValueScanCursor<V>> zscan(K key)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>key - the keypublic reactor.core.publisher.Mono<ScoredValueScanCursor<V>> zscan(K key, ScanArgs scanArgs)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>key - the keyscanArgs - scan argumentspublic reactor.core.publisher.Mono<ScoredValueScanCursor<V>> zscan(K key, ScanCursor scanCursor, ScanArgs scanArgs)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>key - the keyscanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<ScoredValueScanCursor<V>> zscan(K key, ScanCursor scanCursor)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>key - the keyscanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keypublic reactor.core.publisher.Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key, ScanArgs scanArgs)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keyscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key, ScanCursor scanCursor, ScanArgs scanArgs)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keyscanCursor - cursor to resume from a previous scan, must not be nullscanArgs - scan argumentspublic reactor.core.publisher.Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key, ScanCursor scanCursor)
RedisSortedSetReactiveCommandszscan in interface RedisSortedSetReactiveCommands<K,V>channel - streaming channel that receives a call for every scored valuekey - the keyscanCursor - cursor to resume from a previous scan, must not be nullpublic reactor.core.publisher.Mono<Double> zscore(K key, V member)
RedisSortedSetReactiveCommandszscore in interface RedisSortedSetReactiveCommands<K,V>key - the keymember - the member type: valuemember (a double precision floating point number), represented as
string.public reactor.core.publisher.Mono<Long> zunionstore(K destination, K... keys)
RedisSortedSetReactiveCommandszunionstore in interface RedisSortedSetReactiveCommands<K,V>destination - destination keykeys - source keysdestination.public reactor.core.publisher.Mono<Long> zunionstore(K destination, ZStoreArgs storeArgs, K... keys)
RedisSortedSetReactiveCommandszunionstore in interface RedisSortedSetReactiveCommands<K,V>destination - the destinationstoreArgs - the storeArgskeys - the keysdestination.Copyright © 2018 lettuce.io. All rights reserved.