类 ClusterReactiveCommands
- 所有已实现的接口:
io.lettuce.core.api.reactive.BaseRedisReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisAclReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisFunctionReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisGeoReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisHashReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisHLLReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisListReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisScriptingReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisServerReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisSetReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisStreamReactiveCommands<String,
,String> io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
,String> io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
,String> io.lettuce.core.cluster.api.reactive.RedisClusterReactiveCommands<String,
String>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono<Set<io.lettuce.core.AclCategory>>
aclCat()
reactor.core.publisher.Mono<Set<io.lettuce.core.protocol.CommandType>>
aclCat
(io.lettuce.core.AclCategory aclCategory) reactor.core.publisher.Mono<Long>
aclDeluser
(String... strings) reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
aclGenpass
(int i) aclGetuser
(String s) reactor.core.publisher.Flux<String>
aclList()
reactor.core.publisher.Mono<String>
aclLoad()
aclLog()
aclLog
(int i) reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
aclSave()
reactor.core.publisher.Mono<String>
aclSetuser
(String s, io.lettuce.core.AclSetuserArgs aclSetuserArgs) reactor.core.publisher.Flux<String>
aclUsers()
reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<Long>
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
(CharSequence charSequence) reactor.core.publisher.Mono<String>
auth
(String s, CharSequence charSequence) reactor.core.publisher.Mono<String>
Asynchronously rewrite the append-only file.reactor.core.publisher.Mono<String>
bgsave()
Asynchronously save the dataset to disk.reactor.core.publisher.Mono<Long>
Count set bits in a string.reactor.core.publisher.Mono<Long>
Count set bits in a string.reactor.core.publisher.Flux<io.lettuce.core.Value<Long>>
ExecuteBITFIELD
with its subcommands.reactor.core.publisher.Mono<Long>
Perform bitwise AND between strings.reactor.core.publisher.Mono<Long>
Perform bitwise NOT between strings.reactor.core.publisher.Mono<Long>
Perform bitwise OR between strings.reactor.core.publisher.Mono<Long>
Perform bitwise XOR between strings.reactor.core.publisher.Mono<Long>
Find first bit set or clear in a string.reactor.core.publisher.Mono<Long>
Find first bit set or clear in a string.reactor.core.publisher.Mono<Long>
Find first bit set or clear in a string.reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
Remove and get the first element in a list, or block until one is available.Remove and get the last element in a list, or block until one is available.reactor.core.publisher.Mono<String>
brpoplpush
(double v, String s, String k1) reactor.core.publisher.Mono<String>
brpoplpush
(long timeout, String source, String 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<io.lettuce.core.KeyValue<String,
List<io.lettuce.core.ScoredValue<String>>>> reactor.core.publisher.Mono<io.lettuce.core.KeyValue<String,
List<io.lettuce.core.ScoredValue<String>>>> Removes and returns a member with the highest scores in the sorted set stored at one of the keys.Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.reactor.core.publisher.Mono<String>
clientCaching
(boolean b) reactor.core.publisher.Mono<String>
Get the current connection name.reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Long>
clientId()
Get the id of the current connection.reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<Long>
clientKill
(io.lettuce.core.KillArgs killArgs) Kill connections of clients which are filtered bykillArgs
.reactor.core.publisher.Mono<String>
clientKill
(String addr) Kill the connection of a client identified by ip:port.reactor.core.publisher.Mono<String>
Get the list of client connections.reactor.core.publisher.Mono<String>
clientList
(io.lettuce.core.ClientListArgs clientListArgs) reactor.core.publisher.Mono<String>
clientNoEvict
(boolean b) reactor.core.publisher.Mono<String>
clientPause
(long timeout) Stop processing commands from clients for some time.reactor.core.publisher.Mono<String>
clientSetinfo
(String s, String s1) reactor.core.publisher.Mono<String>
clientSetname
(String name) Set the current connection name on all cluster nodes with pipelining.reactor.core.publisher.Mono<String>
clientTracking
(io.lettuce.core.TrackingArgs trackingArgs) reactor.core.publisher.Mono<Long>
clientUnblock
(long id, io.lettuce.core.UnblockType type) Unblock the specified blocked client.reactor.core.publisher.Mono<String>
clusterAddSlots
(int... slots) Adds slots to the cluster node.reactor.core.publisher.Mono<String>
clusterAddSlotsRange
(io.lettuce.core.Range<Integer>... ranges) reactor.core.publisher.Mono<String>
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 hashslot
.reactor.core.publisher.Mono<String>
clusterDelSlots
(int... slots) Removes slots from the cluster node.reactor.core.publisher.Mono<String>
clusterDelSlotsRange
(io.lettuce.core.Range<Integer>... ranges) reactor.core.publisher.Mono<String>
clusterFailover
(boolean force) Failover a cluster node.reactor.core.publisher.Mono<String>
clusterFailover
(boolean b, boolean b1) reactor.core.publisher.Mono<String>
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<String>
clusterGetKeysInSlot
(int slot, int count) Retrieve the list of keys within theslot
.reactor.core.publisher.Mono<String>
Get information and statistics about the cluster viewed by the current node.reactor.core.publisher.Mono<Long>
clusterKeyslot
(String 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>
Obtain the nodeId for the currently connected node.reactor.core.publisher.Mono<String>
Obtain details about all cluster nodes.reactor.core.publisher.Flux<String>
reactor.core.publisher.Mono<String>
clusterReplicate
(String nodeId) Turn this node into a replica of the node with the idnodeId
.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 replica, 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 replica, the whole data set is flushed awayreactor.core.publisher.Mono<String>
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 innodeId
.reactor.core.publisher.Mono<String>
clusterSetSlotMigrating
(int slot, String nodeId) Flag a slot as MIGRATING (outgoing) towards the node specified innodeId
.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) 已过时。reactor.core.publisher.Flux<Object>
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>
Get total number of Redis commands.reactor.core.publisher.Flux<Object>
commandInfo
(io.lettuce.core.protocol.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.Get the value of a configuration parameter.reactor.core.publisher.Mono<String>
Reset the stats returned by INFO.reactor.core.publisher.Mono<String>
Rewrite the configuration file with the in memory configuration.reactor.core.publisher.Mono<String>
Set a configuration parameter to the given value.reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Long>
dbsize()
Return the number of keys in the selected database on all cluster masters.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
(String 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>
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
(String key) Get debugging information about the internal SDS length.reactor.core.publisher.Mono<Void>
Make the server crash: Invalid pointer access.reactor.core.publisher.Mono<Long>
Decrement the integer value of a key by one.reactor.core.publisher.Mono<Long>
Decrement the integer value of a key by the given number.reactor.core.publisher.Mono<Long>
Delete one or more keys with pipelining.digest
(byte[] bytes) Create a SHA1 digest from a Lua script.<T> reactor.core.publisher.Flux<T>
dispatch
(io.lettuce.core.protocol.ProtocolKeyword type, io.lettuce.core.output.CommandOutput<String, String, ?> output) Dispatch a command to the Redis Server.<T> reactor.core.publisher.Flux<T>
dispatch
(io.lettuce.core.protocol.ProtocolKeyword type, io.lettuce.core.output.CommandOutput<String, String, ?> output, io.lettuce.core.protocol.CommandArgs<String, String> args) Dispatch a command to the Redis Server.reactor.core.publisher.Mono<byte[]>
Return a serialized version of the value stored at the specified key.reactor.core.publisher.Mono<String>
Echo the given string.<T> reactor.core.publisher.Flux<T>
<T> reactor.core.publisher.Flux<T>
eval
(byte[] bytes, io.lettuce.core.ScriptOutputType scriptOutputType, String[] strings, String... strings2) <T> reactor.core.publisher.Flux<T>
Execute a Lua script server side.<T> reactor.core.publisher.Flux<T>
Execute a Lua script server side.<T> reactor.core.publisher.Flux<T>
evalReadOnly
(byte[] bytes, io.lettuce.core.ScriptOutputType scriptOutputType, String[] strings, String... strings2) <T> reactor.core.publisher.Flux<T>
Evaluates a script cached on the server side by its SHA1 digest.<T> reactor.core.publisher.Flux<T>
Execute a Lua script server side.<T> reactor.core.publisher.Flux<T>
evalshaReadOnly
(String s, io.lettuce.core.ScriptOutputType scriptOutputType, String[] strings, String... strings2) reactor.core.publisher.Mono<Long>
Determine how many keys exist with pipelining.reactor.core.publisher.Mono<Boolean>
Set a key's time to live in seconds.reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
Set the expiration for a key as a UNIX timestamp.reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
Set the expiration for a key as a UNIX timestamp.reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Long>
expiretime
(String s) <T> reactor.core.publisher.Flux<T>
<T> reactor.core.publisher.Flux<T>
fcall
(String s, io.lettuce.core.ScriptOutputType scriptOutputType, String[] strings, String... strings2) <T> reactor.core.publisher.Flux<T>
fcallReadOnly
(String s, io.lettuce.core.ScriptOutputType scriptOutputType, String... strings) <T> reactor.core.publisher.Flux<T>
fcallReadOnly
(String s, io.lettuce.core.ScriptOutputType scriptOutputType, String[] strings, String... strings2) reactor.core.publisher.Mono<String>
flushall()
Remove all keys from all databases on all cluster masters with pipelining.reactor.core.publisher.Mono<String>
flushall
(io.lettuce.core.FlushMode flushMode) reactor.core.publisher.Mono<String>
Remove all keys asynchronously from all databases on all cluster upstream nodes with pipelining.void
已过时。reactor.core.publisher.Mono<String>
flushdb()
Remove all keys from the current database on all cluster masters with pipelining.reactor.core.publisher.Mono<String>
flushdb
(io.lettuce.core.FlushMode flushMode) reactor.core.publisher.Mono<String>
已过时。reactor.core.publisher.Mono<byte[]>
reactor.core.publisher.Mono<String>
functionFlush
(io.lettuce.core.FlushMode flushMode) reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
functionLoad
(String s, boolean b) reactor.core.publisher.Mono<String>
functionRestore
(byte[] bytes) reactor.core.publisher.Mono<String>
functionRestore
(byte[] bytes, io.lettuce.core.FunctionRestoreMode functionRestoreMode) reactor.core.publisher.Mono<Long>
Single geo add.reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Long>
geoadd
(String s, io.lettuce.core.GeoAddArgs geoAddArgs, io.lettuce.core.GeoValue<String>... geoValues) reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Long>
Multi geo add.reactor.core.publisher.Mono<Double>
Retrieve distance between pointsfrom
andto
.reactor.core.publisher.Flux<io.lettuce.core.Value<String>>
Retrieve Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index.reactor.core.publisher.Flux<io.lettuce.core.Value<io.lettuce.core.GeoCoordinates>>
Get geo coordinates for themembers
.reactor.core.publisher.Flux<String>
georadius
(String key, double longitude, double latitude, double distance, io.lettuce.core.GeoArgs.Unit unit) Retrieve members selected by distance with the center oflongitude
andlatitude
.reactor.core.publisher.Flux<io.lettuce.core.GeoWithin<String>>
georadius
(String key, double longitude, double latitude, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoArgs geoArgs) Retrieve members selected by distance with the center oflongitude
andlatitude
.reactor.core.publisher.Mono<Long>
georadius
(String key, double longitude, double latitude, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoRadiusStoreArgs<String> geoRadiusStoreArgs) Perform a {@link #(Object, double, double, double, GeoArgs.Unit, GeoArgs)} query and store the results in a sorted set.reactor.core.publisher.Flux<String>
georadiusbymember
(String key, String member, double distance, io.lettuce.core.GeoArgs.Unit unit) Retrieve members selected by distance with the center ofmember
.reactor.core.publisher.Flux<io.lettuce.core.GeoWithin<String>>
georadiusbymember
(String key, String member, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoArgs geoArgs) Retrieve members selected by distance with the center ofmember
.reactor.core.publisher.Mono<Long>
georadiusbymember
(String key, String member, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoRadiusStoreArgs<String> geoRadiusStoreArgs) Perform a {@link #(Object, Object, double, GeoArgs.Unit, GeoArgs)} query and store the results in a sorted set.reactor.core.publisher.Flux<String>
geosearch
(String s, io.lettuce.core.GeoSearch.GeoRef<String> geoRef, io.lettuce.core.GeoSearch.GeoPredicate geoPredicate) reactor.core.publisher.Flux<io.lettuce.core.GeoWithin<String>>
geosearch
(String s, io.lettuce.core.GeoSearch.GeoRef<String> geoRef, io.lettuce.core.GeoSearch.GeoPredicate geoPredicate, io.lettuce.core.GeoArgs geoArgs) reactor.core.publisher.Mono<Long>
geosearchstore
(String s, String k1, io.lettuce.core.GeoSearch.GeoRef<String> geoRef, io.lettuce.core.GeoSearch.GeoPredicate geoPredicate, io.lettuce.core.GeoArgs geoArgs, boolean b) reactor.core.publisher.Mono<String>
Get the value of a key.reactor.core.publisher.Mono<Long>
Returns the bit value at offset in the string value stored at key.getConnection
(String nodeId) Retrieve a connection to the specified cluster node using the nodeId.getConnection
(String host, int port) Retrieve a connection to the specified cluster node using host and port.reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
Get a substring of the string stored at a key.reactor.core.publisher.Mono<String>
Set the string value of a key and return its old value.已过时。reactor.core.publisher.Mono<Long>
Delete one or more hash fields.reactor.core.publisher.Mono<Boolean>
Determine if a hash field exists.reactor.core.publisher.Mono<String>
Get the value of a hash field.reactor.core.publisher.Mono<Long>
Stream over all the fields and values in a hash.reactor.core.publisher.Mono<Long>
Increment the integer value of a hash field by the given number.reactor.core.publisher.Mono<Double>
hincrbyfloat
(String key, String field, double amount) Increment the float value of a hash field by the given amount.reactor.core.publisher.Mono<Long>
Stream over all the fields in a hash.reactor.core.publisher.Flux<String>
Get all the fields in a hash.reactor.core.publisher.Mono<Long>
Get the number of fields in a hash.reactor.core.publisher.Mono<Long>
hmget
(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, String... fields) Stream over the values of all the given hash fields.Get the values of all the given hash fields.reactor.core.publisher.Mono<String>
Set multiple hash fields to multiple values.reactor.core.publisher.Mono<String>
hrandfield
(String s) reactor.core.publisher.Flux<String>
hrandfield
(String s, long l) hrandfieldWithvalues
(String s, long l) reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
Incrementally iterate hash fields and associated values.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
hscan
(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate hash fields and associated values.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
hscan
(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate hash fields and associated values.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
hscan
(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate hash fields and associated values.Incrementally iterate hash fields and associated values.Incrementally iterate hash fields and associated values.Incrementally iterate hash fields and associated values.Incrementally iterate hash fields and associated values.reactor.core.publisher.Mono<Boolean>
Set the string value of a hash field.reactor.core.publisher.Mono<Long>
Set multiple hash fields to multiple values.reactor.core.publisher.Mono<Boolean>
Set the value of a hash field, only if the field does not exist.reactor.core.publisher.Mono<Long>
Get the string length of the field value in a hash.reactor.core.publisher.Mono<Long>
Stream over all the values in a hash.reactor.core.publisher.Flux<String>
Get all the values in a hash.reactor.core.publisher.Mono<Long>
Increment the integer value of a key by one.reactor.core.publisher.Mono<Long>
Increment the integer value of a key by the given amount.reactor.core.publisher.Mono<Double>
incrbyfloat
(String 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>
Get information and statistics about the server.boolean
isOpen()
已过时。reactor.core.publisher.Mono<Long>
已过时。reactor.core.publisher.Flux<String>
Find all keys matching the given pattern on all cluster masters.reactor.core.publisher.Mono<Date>
lastsave()
Get the UNIX time stamp of the last successful save to disk.reactor.core.publisher.Mono<String>
Get an element from a list by its index.reactor.core.publisher.Mono<Long>
Insert an element before or after another element in a list.reactor.core.publisher.Mono<Long>
Get the length of a list.reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
Remove and get the first element in a list.reactor.core.publisher.Flux<String>
reactor.core.publisher.Mono<Long>
Return the index of matching elements inside a Redis list.reactor.core.publisher.Flux<Long>
Return the index of matching elements inside a Redis list using theCOUNT
option.reactor.core.publisher.Flux<Long>
Return the index of matching elements inside a Redis list using theCOUNT
option.reactor.core.publisher.Mono<Long>
Return the index of matching elements inside a Redis list.reactor.core.publisher.Mono<Long>
Prepend one or multiple values to a list.reactor.core.publisher.Mono<Long>
Prepend values to a list, only if the list exists.reactor.core.publisher.Mono<Long>
lrange
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, long start, long stop) Get a range of elements from a list.reactor.core.publisher.Flux<String>
Get a range of elements from a list.reactor.core.publisher.Mono<Long>
Remove elements from a list.reactor.core.publisher.Mono<String>
Set the value of an element in a list by its index.reactor.core.publisher.Mono<String>
Trim a list to the specified range.reactor.core.publisher.Mono<Long>
memoryUsage
(String key) Reports the number of bytes that a key and its value require to be stored in RAM.reactor.core.publisher.Mono<Long>
已过时。Get the values of all the given keys with pipelining.reactor.core.publisher.Mono<String>
migrate
(String host, int port, int db, long timeout, io.lettuce.core.MigrateArgs<String> migrateArgs) Atomically transfer one or more keys from a Redis instance to another one.reactor.core.publisher.Mono<String>
Atomically transfer a key from a Redis instance to another one.reactor.core.publisher.Mono<Boolean>
Move a key to another database.reactor.core.publisher.Mono<String>
Set multiple keys to multiple values with pipelining.reactor.core.publisher.Mono<Boolean>
Set multiple keys to multiple values, only if none of the keys exist with pipelining.reactor.core.publisher.Mono<String>
objectEncoding
(String key) returns the kind of internal representation used in order to store the value associated with a key.reactor.core.publisher.Mono<Long>
objectFreq
(String s) reactor.core.publisher.Mono<Long>
objectIdletime
(String 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
(String key) returns the number of references of the value associated with the specified key.reactor.core.publisher.Mono<Boolean>
Remove the expiration from a key.reactor.core.publisher.Mono<Boolean>
Set a key's time to live in milliseconds.reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
Set the expiration for a key as a UNIX timestamp specified in milliseconds.reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
Set the expiration for a key as a UNIX timestamp specified in milliseconds.reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Long>
Adds the specified elements to the specified HyperLogLog.reactor.core.publisher.Mono<Long>
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).reactor.core.publisher.Mono<String>
Merge N different HyperLogLogs into a single one.reactor.core.publisher.Mono<String>
ping()
Ping the server.reactor.core.publisher.Mono<String>
Set the value and expiration in milliseconds of a key.reactor.core.publisher.Mono<Long>
Get the time to live for a key in milliseconds.reactor.core.publisher.Mono<Long>
Post a message to a channel.reactor.core.publisher.Flux<String>
Lists the currently *active channels*.reactor.core.publisher.Flux<String>
pubsubChannels
(String channel) Lists the currently *active channels*.reactor.core.publisher.Mono<Long>
Returns the number of subscriptions to patterns.pubsubNumsub
(String... 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<String>
Return a random key from the keyspace on a random master.reactor.core.publisher.Mono<String>
readOnly()
Tells a Redis cluster replica node that the client is ok reading possibly stale data and is not interested in running write queries.reactor.core.publisher.Mono<String>
Resets readOnly flag.reactor.core.publisher.Mono<String>
Rename a key.reactor.core.publisher.Mono<Boolean>
Rename a key, only if the new key does not exist.reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
void
reset()
已过时。reactor.core.publisher.Mono<String>
Create a key using the provided serialized value, previously obtained using DUMP.reactor.core.publisher.Mono<String>
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<String>
Remove and get the last element in a list.reactor.core.publisher.Flux<String>
reactor.core.publisher.Mono<String>
Remove the last element in a list, append it to another list and return it.reactor.core.publisher.Mono<Long>
Append one or multiple values to a list.reactor.core.publisher.Mono<Long>
Append values to a list, only if the list exists.reactor.core.publisher.Mono<Long>
Add one or more members to a set.reactor.core.publisher.Mono<String>
save()
Synchronously save the dataset to disk.reactor.core.publisher.Mono<io.lettuce.core.KeyScanCursor<String>>
scan()
Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
scan
(io.lettuce.core.output.KeyStreamingChannel<String> channel, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
scan
(io.lettuce.core.output.KeyStreamingChannel<String> channel, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<io.lettuce.core.KeyScanCursor<String>>
scan
(io.lettuce.core.ScanArgs scanArgs) Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<io.lettuce.core.KeyScanCursor<String>>
scan
(io.lettuce.core.ScanCursor scanCursor) Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<io.lettuce.core.KeyScanCursor<String>>
scan
(io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate the keys space over the whole Cluster.reactor.core.publisher.Mono<Long>
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>
Remove all the scripts from the script cache on all cluster nodes.reactor.core.publisher.Mono<String>
scriptFlush
(io.lettuce.core.FlushMode flushMode) reactor.core.publisher.Mono<String>
Kill the script currently in execution on all cluster nodes.reactor.core.publisher.Mono<String>
scriptLoad
(byte[] bytes) reactor.core.publisher.Mono<String>
scriptLoad
(String script) Load the specified Lua script into the script cache on all cluster nodes.reactor.core.publisher.Mono<Long>
Subtract multiple sets.reactor.core.publisher.Flux<String>
Subtract multiple sets.reactor.core.publisher.Mono<Long>
sdiffstore
(String destination, String... keys) Subtract multiple sets and store the resulting set in a key.reactor.core.publisher.Mono<String>
Set the string value of a key.reactor.core.publisher.Mono<String>
Set the string value of a key.void
setAutoFlushCommands
(boolean autoFlush) 已过时。reactor.core.publisher.Mono<Long>
Sets or clears the bit at offset in the string value stored at key.reactor.core.publisher.Mono<String>
Set the value and expiration of a key.reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<String>
reactor.core.publisher.Mono<Boolean>
Set the value of a key, only if the key does not exist.reactor.core.publisher.Mono<Long>
Overwrite part of a string at key starting at the specified offset.void
setTimeout
(Duration timeout) 已过时。reactor.core.publisher.Mono<Void>
shutdown
(boolean save) Synchronously save the dataset to disk and then shut down all nodes of the cluster.reactor.core.publisher.Mono<Void>
shutdown
(io.lettuce.core.ShutdownArgs shutdownArgs) reactor.core.publisher.Mono<Long>
已过时。reactor.core.publisher.Flux<String>
Intersect multiple sets.reactor.core.publisher.Mono<Long>
sintercard
(long l, String... strings) reactor.core.publisher.Mono<Long>
sintercard
(String... strings) reactor.core.publisher.Mono<Long>
sinterstore
(String destination, String... keys) Intersect multiple sets and store the resulting set in a key.reactor.core.publisher.Mono<Boolean>
Determine if a given value is a member of a set.reactor.core.publisher.Mono<String>
Make the server a replica of another instance, or promote it as master.reactor.core.publisher.Mono<String>
Promote server as master.reactor.core.publisher.Flux<Object>
Read the slow log.reactor.core.publisher.Flux<Object>
slowlogGet
(int count) Read the slow log.reactor.core.publisher.Mono<Long>
Obtaining the current length of the slow log.reactor.core.publisher.Mono<String>
Resetting the slow log.reactor.core.publisher.Mono<Long>
已过时。reactor.core.publisher.Flux<String>
Get all the members in a set.reactor.core.publisher.Flux<Boolean>
smismember
(String s, String... strings) reactor.core.publisher.Mono<Boolean>
Move a member from one set to another.reactor.core.publisher.Mono<Long>
已过时。reactor.core.publisher.Mono<Long>
sort
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.SortArgs sortArgs) 已过时。reactor.core.publisher.Flux<String>
Sort the elements in a list, set or sorted set.reactor.core.publisher.Flux<String>
Sort the elements in a list, set or sorted set.reactor.core.publisher.Mono<Long>
sortReadOnly
(io.lettuce.core.output.ValueStreamingChannel<String> valueStreamingChannel, String s) 已过时。reactor.core.publisher.Mono<Long>
sortReadOnly
(io.lettuce.core.output.ValueStreamingChannel<String> valueStreamingChannel, String s, io.lettuce.core.SortArgs sortArgs) 已过时。reactor.core.publisher.Flux<String>
reactor.core.publisher.Flux<String>
sortReadOnly
(String s, io.lettuce.core.SortArgs sortArgs) reactor.core.publisher.Mono<Long>
Sort the elements in a list, set or sorted set.reactor.core.publisher.Mono<String>
Remove and return a random member from a set.reactor.core.publisher.Flux<String>
Remove and return one or multiple random members from a set.reactor.core.publisher.Mono<Long>
srandmember
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, long count) 已过时。reactor.core.publisher.Mono<String>
srandmember
(String key) Get one random member from a set.reactor.core.publisher.Flux<String>
srandmember
(String key, long count) Get one or multiple random members from a set.reactor.core.publisher.Mono<Long>
Remove one or more members from a set.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
已过时。reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
sscan
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanArgs scanArgs) 已过时。reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
sscan
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor) 已过时。reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
sscan
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate Set elements.reactor.core.publisher.Mono<io.lettuce.core.ValueScanCursor<String>>
Incrementally iterate Set elements.reactor.core.publisher.Mono<io.lettuce.core.ValueScanCursor<String>>
Incrementally iterate Set elements.reactor.core.publisher.Mono<io.lettuce.core.ValueScanCursor<String>>
Incrementally iterate Set elements.reactor.core.publisher.Mono<io.lettuce.core.ValueScanCursor<String>>
Incrementally iterate Set elements.reactor.core.publisher.Mono<io.lettuce.core.StringMatchResult>
stralgoLcs
(io.lettuce.core.StrAlgoArgs strAlgoArgs) The STRALGO command implements complex algorithms that operate on strings.reactor.core.publisher.Mono<Long>
Get the length of the value stored in a key.reactor.core.publisher.Mono<Long>
已过时。reactor.core.publisher.Flux<String>
Add multiple sets.reactor.core.publisher.Mono<Long>
sunionstore
(String destination, String... keys) Add multiple sets and store the resulting set in a key.reactor.core.publisher.Flux<String>
time()
Return the current server time.reactor.core.publisher.Mono<Long>
Touch one or more keys with pipelining.reactor.core.publisher.Mono<Long>
Get the time to live for a key.reactor.core.publisher.Mono<String>
Determine the type stored at key.reactor.core.publisher.Mono<Long>
Unlink one or more keys with pipelining.reactor.core.publisher.Mono<Long>
waitForReplication
(int replicas, long timeout) Wait for replication.reactor.core.publisher.Mono<Long>
Acknowledge one or more messages as processed.reactor.core.publisher.Mono<String>
Append a message to the streamkey
.reactor.core.publisher.Mono<String>
Append a message to the streamkey
.reactor.core.publisher.Mono<String>
Append a message to the streamkey
.reactor.core.publisher.Mono<String>
Append a message to the streamkey
.xautoclaim
(String s, io.lettuce.core.XAutoClaimArgs<String> xAutoClaimArgs) xclaim
(String key, io.lettuce.core.Consumer<String> consumer, long minIdleTime, String... messageIds) Gets ownership of one or multiple messages in the Pending Entries List of a given stream consumer group.xclaim
(String key, io.lettuce.core.Consumer<String> consumer, io.lettuce.core.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>
Removes the specified entries from the stream.reactor.core.publisher.Mono<String>
xgroupCreate
(io.lettuce.core.XReadArgs.StreamOffset<String> streamOffset, String group) Create a consumer group.reactor.core.publisher.Mono<String>
xgroupCreate
(io.lettuce.core.XReadArgs.StreamOffset<String> streamOffset, String group, io.lettuce.core.XGroupCreateArgs args) Create a consumer group.reactor.core.publisher.Mono<Boolean>
xgroupCreateconsumer
(String s, io.lettuce.core.Consumer<String> consumer) reactor.core.publisher.Mono<Long>
xgroupDelconsumer
(String s, io.lettuce.core.Consumer<String> consumer) reactor.core.publisher.Mono<Boolean>
xgroupDestroy
(String key, String group) Destroy a consumer group.reactor.core.publisher.Mono<String>
xgroupSetid
(io.lettuce.core.XReadArgs.StreamOffset<String> streamOffset, String group) Set the currentgroup
id.reactor.core.publisher.Flux<Object>
xinfoConsumers
(String key, String group) Retrieve information about consumer groups of groupgroup
and stream atkey
.reactor.core.publisher.Flux<Object>
xinfoGroups
(String key) Retrieve information about the stream consumer groups atkey
.reactor.core.publisher.Flux<Object>
xinfoStream
(String key) Retrieve information about the stream atkey
.reactor.core.publisher.Mono<Long>
Get the length of a steam.reactor.core.publisher.Flux<io.lettuce.core.models.stream.PendingMessage>
xpending
(String s, io.lettuce.core.Consumer<String> consumer, io.lettuce.core.Range<String> range, io.lettuce.core.Limit limit) reactor.core.publisher.Flux<io.lettuce.core.models.stream.PendingMessage>
reactor.core.publisher.Mono<io.lettuce.core.models.stream.PendingMessages>
reactor.core.publisher.Flux<io.lettuce.core.models.stream.PendingMessage>
Read messages from a stream within a specificRange
.Read messages from a stream within a specificRange
applying aLimit
.Read messages from one or moreStreamOffset
s.Read messages from one or moreStreamOffset
s.xreadgroup
(io.lettuce.core.Consumer<String> consumer, io.lettuce.core.XReadArgs.StreamOffset<String>... streams) Read messages from one or moreStreamOffset
s using a consumer group.xreadgroup
(io.lettuce.core.Consumer<String> consumer, io.lettuce.core.XReadArgs args, io.lettuce.core.XReadArgs.StreamOffset<String>... streams) Read messages from one or moreStreamOffset
s using a consumer group.Read messages from a stream within a specificRange
in reverse order.Read messages from a stream within a specificRange
applying aLimit
in reverse order.reactor.core.publisher.Mono<Long>
Trims the stream tocount
elements.reactor.core.publisher.Mono<Long>
Trims the stream tocount
elements.reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Long>
Add one or more members to a sorted set, or update its score if it already exists.reactor.core.publisher.Mono<Long>
Add one or more members to a sorted set, or update its score if it already exists.reactor.core.publisher.Mono<Long>
Add one or more members to a sorted set, or update its score if it already exists.reactor.core.publisher.Mono<Long>
zadd
(String key, io.lettuce.core.ZAddArgs zAddArgs, io.lettuce.core.ScoredValue<String>... scoredValues) Add one or more members to a sorted set, or update its score if it already exists.reactor.core.publisher.Mono<Long>
Add one or more members to a sorted set, or update its score if it already exists.reactor.core.publisher.Mono<Long>
Add one or more members to a sorted set, or update its score if it already exists.reactor.core.publisher.Mono<Double>
Add one or more members to a sorted set, or update its score if it already exists applying theINCR
option.reactor.core.publisher.Mono<Double>
Add one or more members to a sorted set, or update its score if it already exists applying theINCR
option.reactor.core.publisher.Mono<Long>
Get the number of members in a sorted set.reactor.core.publisher.Mono<Long>
已过时。reactor.core.publisher.Mono<Long>
Count the members in a sorted set with scores within the givenRange
.reactor.core.publisher.Mono<Long>
已过时。UseRedisSortedSetReactiveCommands.zcount(Object, Range)
.reactor.core.publisher.Flux<String>
reactor.core.publisher.Mono<Long>
zdiffstore
(String s, String... strings) reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zdiffWithScores
(String... strings) reactor.core.publisher.Mono<Double>
Increment the score of a member in a sorted set.reactor.core.publisher.Flux<String>
reactor.core.publisher.Flux<String>
reactor.core.publisher.Mono<Long>
zintercard
(long l, String... strings) reactor.core.publisher.Mono<Long>
zintercard
(String... strings) reactor.core.publisher.Mono<Long>
zinterstore
(String destination, io.lettuce.core.ZStoreArgs storeArgs, String... keys) Intersect multiple sorted sets and store the resulting sorted set in a new key.reactor.core.publisher.Mono<Long>
zinterstore
(String destination, String... keys) Intersect multiple sorted sets and store the resulting sorted set in a new key.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zinterWithScores
(io.lettuce.core.ZAggregateArgs zAggregateArgs, String... strings) reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zinterWithScores
(String... strings) reactor.core.publisher.Mono<Long>
Count the number of members in a sorted set between a given lexicographical range.reactor.core.publisher.Mono<Long>
已过时。UseRedisSortedSetReactiveCommands.zlexcount(Object, Range)
.reactor.core.publisher.Mono<io.lettuce.core.KeyValue<String,
List<io.lettuce.core.ScoredValue<String>>>> reactor.core.publisher.Mono<io.lettuce.core.ScoredValue<String>>
Removes and returns up to count members with the highest scores in the sorted set stored at key.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
Removes and returns up to count members with the highest scores in the sorted set stored at key.reactor.core.publisher.Mono<io.lettuce.core.ScoredValue<String>>
Removes and returns up to count members with the lowest scores in the sorted set stored at key.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
Removes and returns up to count members with the lowest scores in the sorted set stored at key.reactor.core.publisher.Mono<String>
reactor.core.publisher.Flux<String>
zrandmember
(String s, long l) reactor.core.publisher.Mono<io.lettuce.core.ScoredValue<String>>
reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrandmemberWithScores
(String s, long l) reactor.core.publisher.Mono<Long>
zrange
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, long start, long stop) 已过时。reactor.core.publisher.Flux<String>
Return a range of members in a sorted set, by index.reactor.core.publisher.Flux<String>
zrangebylex
(String key, io.lettuce.core.Range<? extends String> range) Return a range of members in a sorted set, by lexicographical range.reactor.core.publisher.Flux<String>
zrangebylex
(String key, io.lettuce.core.Range<? extends String> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by lexicographical range.reactor.core.publisher.Flux<String>
zrangebylex
(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebylex(Object, Range)
.reactor.core.publisher.Flux<String>
zrangebylex
(String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebylex(Object, Range)
.reactor.core.publisher.Mono<Long>
zrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range)
.reactor.core.publisher.Mono<Long>
zrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range, Limit limit)
.reactor.core.publisher.Mono<Long>
zrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range) Stream over a range of members in a sorted set, by score.reactor.core.publisher.Mono<Long>
zrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Stream over a range of members in a sorted set, by score.reactor.core.publisher.Mono<Long>
zrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range)
.reactor.core.publisher.Mono<Long>
zrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range, Limit limit)
.reactor.core.publisher.Flux<String>
zrangebyscore
(String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range)
.reactor.core.publisher.Flux<String>
zrangebyscore
(String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range, Limit)
.reactor.core.publisher.Flux<String>
zrangebyscore
(String key, io.lettuce.core.Range<? extends Number> range) Return a range of members in a sorted set, by score.reactor.core.publisher.Flux<String>
zrangebyscore
(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by score.reactor.core.publisher.Flux<String>
zrangebyscore
(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range)
.reactor.core.publisher.Flux<String>
zrangebyscore
(String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range, Limit)
.reactor.core.publisher.Mono<Long>
zrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.reactor.core.publisher.Mono<Long>
zrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit limit)
.reactor.core.publisher.Mono<Long>
zrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range) Stream over a range of members with scores in a sorted set, by score.reactor.core.publisher.Mono<Long>
zrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Stream over a range of members with scores in a sorted set, by score.reactor.core.publisher.Mono<Long>
zrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.reactor.core.publisher.Mono<Long>
zrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit limit)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrangebyscoreWithScores
(String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrangebyscoreWithScores
(String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range, Limit limit)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrangebyscoreWithScores
(String key, io.lettuce.core.Range<? extends Number> range) Return a range of members with score in a sorted set, by score.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrangebyscoreWithScores
(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Return a range of members with score in a sorted set, by score.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrangebyscoreWithScores
(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrangebyscoreWithScores
(String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range, Limit)
.reactor.core.publisher.Mono<Long>
zrangestore
(String s, String k1, io.lettuce.core.Range<Long> range) reactor.core.publisher.Mono<Long>
zrangestorebylex
(String s, String k1, io.lettuce.core.Range<? extends String> range, io.lettuce.core.Limit limit) reactor.core.publisher.Mono<Long>
zrangestorebyscore
(String s, String k1, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) reactor.core.publisher.Mono<Long>
zrangeWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, long start, long stop) 已过时。reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrangeWithScores
(String key, long start, long stop) Return a range of members with scores in a sorted set, by index.reactor.core.publisher.Mono<Long>
Determine the index of a member in a sorted set.reactor.core.publisher.Mono<io.lettuce.core.ScoredValue<Long>>
zrankWithScore
(String s, String s2) reactor.core.publisher.Mono<Long>
Remove one or more members from a sorted set.reactor.core.publisher.Mono<Long>
zremrangebylex
(String key, io.lettuce.core.Range<? extends String> range) Remove all members in a sorted set between the given lexicographical range.reactor.core.publisher.Mono<Long>
zremrangebylex
(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zremrangebylex(Object, Range)
.reactor.core.publisher.Mono<Long>
zremrangebyrank
(String key, long start, long stop) Remove all members in a sorted set within the given indexes.reactor.core.publisher.Mono<Long>
zremrangebyscore
(String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zremrangebyscore(Object, Range)
.reactor.core.publisher.Mono<Long>
zremrangebyscore
(String key, io.lettuce.core.Range<? extends Number> range) Remove all members in a sorted set within the given scores.reactor.core.publisher.Mono<Long>
zremrangebyscore
(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zremrangebyscore(Object, Range)
.reactor.core.publisher.Mono<Long>
zrevrange
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String 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<String>
Return a range of members in a sorted set, by index, with scores ordered from high to low.reactor.core.publisher.Flux<String>
zrevrangebylex
(String key, io.lettuce.core.Range<? extends String> range) Return a range of members in a sorted set, by lexicographical range ordered from high to low.reactor.core.publisher.Flux<String>
zrevrangebylex
(String key, io.lettuce.core.Range<? extends String> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by lexicographical range ordered from high to low.reactor.core.publisher.Mono<Long>
zrevrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.reactor.core.publisher.Mono<Long>
zrevrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.reactor.core.publisher.Mono<Long>
zrevrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.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
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.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
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.reactor.core.publisher.Mono<Long>
zrevrangebyscore
(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.reactor.core.publisher.Flux<String>
zrevrangebyscore
(String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.reactor.core.publisher.Flux<String>
zrevrangebyscore
(String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range, Limit)
.reactor.core.publisher.Flux<String>
zrevrangebyscore
(String key, io.lettuce.core.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<String>
zrevrangebyscore
(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by score, with scores ordered from high to low.reactor.core.publisher.Flux<String>
zrevrangebyscore
(String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.reactor.core.publisher.Flux<String>
zrevrangebyscore
(String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range, Limit)
.reactor.core.publisher.Mono<Long>
zrevrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.reactor.core.publisher.Mono<Long>
zrevrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit)
.reactor.core.publisher.Mono<Long>
zrevrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.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
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.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
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.reactor.core.publisher.Mono<Long>
zrevrangebyscoreWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrevrangebyscoreWithScores
(String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrevrangebyscoreWithScores
(String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrevrangebyscoreWithScores
(String key, io.lettuce.core.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<io.lettuce.core.ScoredValue<String>>
zrevrangebyscoreWithScores
(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.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<io.lettuce.core.ScoredValue<String>>
zrevrangebyscoreWithScores
(String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range)
.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zrevrangebyscoreWithScores
(String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.reactor.core.publisher.Mono<Long>
zrevrangestore
(String s, String k1, io.lettuce.core.Range<Long> range) reactor.core.publisher.Mono<Long>
zrevrangestorebylex
(String s, String k1, io.lettuce.core.Range<? extends String> range, io.lettuce.core.Limit limit) reactor.core.publisher.Mono<Long>
zrevrangestorebyscore
(String s, String k1, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) reactor.core.publisher.Mono<Long>
zrevrangeWithScores
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String 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.Flux<io.lettuce.core.ScoredValue<String>>
zrevrangeWithScores
(String 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>
Determine the index of a member in a sorted set, with scores ordered from high to low.reactor.core.publisher.Mono<io.lettuce.core.ScoredValue<Long>>
zrevrankWithScore
(String s, String s2) reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
zscan
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
zscan
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor>
zscan
(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<io.lettuce.core.ScoredValueScanCursor<String>>
Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<io.lettuce.core.ScoredValueScanCursor<String>>
Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<io.lettuce.core.ScoredValueScanCursor<String>>
Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<io.lettuce.core.ScoredValueScanCursor<String>>
Incrementally iterate sorted sets elements and associated scores.reactor.core.publisher.Mono<Double>
Get the score associated with the given member in a sorted set.reactor.core.publisher.Flux<String>
reactor.core.publisher.Flux<String>
reactor.core.publisher.Mono<Long>
zunionstore
(String destination, io.lettuce.core.ZStoreArgs storeArgs, String... keys) Add multiple sorted sets and store the resulting sorted set in a new key.reactor.core.publisher.Mono<Long>
zunionstore
(String destination, String... keys) Add multiple sorted sets and store the resulting sorted set in a new key.reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zunionWithScores
(io.lettuce.core.ZAggregateArgs zAggregateArgs, String... strings) reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>>
zunionWithScores
(String... strings)
-
构造器详细资料
-
ClusterReactiveCommands
public ClusterReactiveCommands()
-
-
方法详细资料
-
getConnection
public io.lettuce.core.cluster.api.reactive.RedisClusterReactiveCommands<String,String> getConnection(String nodeId) Retrieve a connection to the specified cluster node using the nodeId. Host and port are looked up in the node list. In contrast to theRedisAdvancedClusterReactiveCommands
, node-connections do not route commands to other cluster nodes -
getConnection
public io.lettuce.core.cluster.api.reactive.RedisClusterReactiveCommands<String,String> getConnection(String host, int port) Retrieve a connection to the specified cluster node using host and port. In contrast to theRedisAdvancedClusterReactiveCommands
, node-connections do not route commands to other cluster nodes. Host and port connections are verified by default for cluster membership, seeClusterClientOptions#isValidateClusterNodeMembership()
. -
getStatefulConnection
@Deprecated public io.lettuce.core.cluster.api.StatefulRedisClusterConnection<String,String> getStatefulConnection()已过时。 -
setTimeout
已过时。Set the default timeout for operations. A zero timeout value indicates to not time out. -
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. -
clusterMeet
Meet another cluster node to include the node into the cluster. The command starts the cluster handshake and returns with OK when the node was added to the cluster. -
clusterForget
Blacklist and remove the cluster node from the cluster. -
clusterAddSlots
Adds slots to the cluster node. The current node will become the master for the specified slots. -
clusterDelSlots
Removes slots from the cluster node. -
clusterDelSlotsRange
-
clusterSetSlotNode
Assign a slot to a node. The command migrates the specified slot from the current node to the specified node innodeId
-
clusterSetSlotStable
Clears migrating / importing state from the slot. -
clusterShards
-
clusterSetSlotMigrating
Flag a slot as MIGRATING (outgoing) towards the node specified innodeId
. The slot must be handled by the current node in order to be migrated. -
clusterSetSlotImporting
Flag a slot as IMPORTING (incoming) from the node specified innodeId
. -
clusterInfo
Get information and statistics about the cluster viewed by the current node. -
clusterMyId
Obtain the nodeId for the currently connected node. -
clusterNodes
Obtain details about all cluster nodes. Can be parsed usingClusterPartitionParser.parse(java.util.List<java.lang.Object>)
-
clusterSlaves
已过时。List replicas for a certain node identified by itsnodeId
. Can be parsed usingClusterPartitionParser.parse(java.util.List<java.lang.Object>)
- 指定者:
clusterSlaves
在接口中io.lettuce.core.cluster.api.reactive.RedisClusterReactiveCommands<String,
String> - 参数:
nodeId
- node id of the master node.- 返回:
- List<String> array-reply list of replicas. The command returns data in the same format as
clusterNodes()
but one line per replica.
-
clusterGetKeysInSlot
Retrieve the list of keys within theslot
. -
clusterCountKeysInSlot
Returns the number of keys in the specified Redis Cluster hashslot
. -
clusterAddSlotsRange
-
clusterCountFailureReports
Returns the number of failure reports for the specified node. Failure reports are the way Redis Cluster uses in order to promote a PFAIL state, that means a node is not reachable, to a FAIL state, that means that the majority of masters in the cluster agreed within a window of time that the node is not reachable. -
clusterKeyslot
Returns an integer identifying the hash slot the specified key hashes to. This command is mainly useful for debugging and testing, since it exposes via an API the underlying Redis implementation of the hashing algorithm. Basically the same asSlotHash.getSlot(byte[])
. If not, call Houston and report that we've got a problem. -
clusterSaveconfig
Forces a node to save the nodes.conf configuration on disk. -
clusterSetConfigEpoch
This command sets a specific config epoch in a fresh node. It only works when:- The nodes table of the node is empty.
- The node current config epoch is zero.
-
clusterSlots
Get array of cluster slots to node mappings. -
asking
The asking command is required after a-ASK
redirection. The client should issueASKING
before to actually send the command to the target instance. See the Redis Cluster specification for more information. -
auth
-
auth
-
clusterReplicate
Turn this node into a replica of the node with the idnodeId
. -
clusterReplicas
-
clusterFailover
Failover a cluster node. Turns the currently connected node into a master and the master into its replica. -
clusterFailover
-
clusterReset
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 replica, 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 replica, the whole data set is flushed away
-
clusterFlushslots
Delete all the slots associated with the specified node. The number of deleted slots is returned. -
publish
Post a message to a channel. -
pubsubChannels
Lists the currently *active channels*. -
pubsubChannels
Lists the currently *active channels*. -
pubsubNumsub
Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels. -
pubsubNumpat
Returns the number of subscriptions to patterns. -
echo
Echo the given string. -
role
Return the role of the instance in the context of replication. -
ping
Ping the server. -
readOnly
Tells a Redis cluster replica node that the client is ok reading possibly stale data and is not interested in running write queries. -
readWrite
Resets readOnly flag. -
quit
Instructs Redis to disconnect the connection. Note that if auto-reconnect is enabled then Lettuce will auto-reconnect if the connection was disconnected. UseStatefulConnection.close()
to close connections and release resources. -
waitForReplication
Wait for replication. -
dispatch
public <T> reactor.core.publisher.Flux<T> dispatch(io.lettuce.core.protocol.ProtocolKeyword type, io.lettuce.core.output.CommandOutput<String, String, ?> output) Dispatch a command to the Redis Server. Please note the command output type must fit to the command response. -
dispatch
public <T> reactor.core.publisher.Flux<T> dispatch(io.lettuce.core.protocol.ProtocolKeyword type, io.lettuce.core.output.CommandOutput<String, String, ?> output, io.lettuce.core.protocol.CommandArgs<String, String> args) Dispatch a command to the Redis Server. Please note the command output type must fit to the command response. -
isOpen
已过时。 -
reset
已过时。Reset the command state. Queued commands will be canceled and the internal state will be reset. This is useful when the internal state machine gets out of sync with the connection. -
setAutoFlushCommands
已过时。Disable or enable auto-flush behavior. Default istrue
. If autoFlushCommands is disabled, multiple commands can be issued without writing them actually to the transport. Commands are buffered until aflushCommands()
is issued. After callingflushCommands()
commands are sent to the transport and executed by Redis. -
flushCommands
已过时。Flush pending commands. This commands forces a flush on the channel and can be used to buffer ("pipeline") commands to achieve batching. No-op if channel is not connected. -
copy
-
copy
-
del
Delete one or more keys with pipelining. Cross-slot keys will result in multiple calls to the particular cluster nodes. -
unlink
Unlink one or more keys with pipelining. Cross-slot keys will result in multiple calls to the particular cluster nodes. -
dump
Return a serialized version of the value stored at the specified key. -
exists
Determine how many keys exist with pipelining. Cross-slot keys will result in multiple calls to the particular cluster nodes. -
expire
Set a key's time to live in seconds. -
expire
-
expire
-
expire
-
expireat
Set the expiration for a key as a UNIX timestamp. -
expireat
-
expireat
-
expireat
-
expiretime
-
expireat
Set the expiration for a key as a UNIX timestamp. -
expireat
-
append
Append a value to a key. -
bitcount
Count set bits in a string. -
bitcount
Count set bits in a string. -
bitfield
public reactor.core.publisher.Flux<io.lettuce.core.Value<Long>> bitfield(String key, io.lettuce.core.BitFieldArgs bitFieldArgs) ExecuteBITFIELD
with its subcommands. -
bitpos
Find first bit set or clear in a string.- 指定者:
bitpos
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
key
- the key.state
- the state.- 返回:
- Long integer-reply The command returns the position of the first bit set to 1 or 0 according to the request.
If we look for set bits (the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned.
If we look for clear bits (the bit argument is 0) and the string only contains bit set to 1, the function returns the first bit not part of the string on the right. So if the string is tree bytes set to the value 0xff the command
BITPOS 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.
-
bitpos
Find first bit set or clear in a string.- 指定者:
bitpos
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
key
- the key.state
- the bit type: long.start
- the start type: long.- 返回:
- Long integer-reply The command returns the position of the first bit set to 1 or 0 according to the request.
If we look for set bits (the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned.
If we look for clear bits (the bit argument is 0) and the string only contains bit set to 1, the function returns the first bit not part of the string on the right. So if the string is tree bytes set to the value 0xff the command
BITPOS 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.
-
bitpos
Find first bit set or clear in a string.- 指定者:
bitpos
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
key
- the key.state
- the bit type: long.start
- the start type: long.end
- the end type: long.- 返回:
- Long integer-reply The command returns the position of the first bit set to 1 or 0 according to the request.
If we look for set bits (the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned.
If we look for clear bits (the bit argument is 0) and the string only contains bit set to 1, the function returns the first bit not part of the string on the right. So if the string is tree bytes set to the value 0xff the command
BITPOS 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.
-
bitopAnd
Perform bitwise AND between strings.- 指定者:
bitopAnd
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
destination
- result key of the operation.keys
- operation input key names.- 返回:
- Long integer-reply The size of the string stored in the destination key, that is equal to the size of the longest input string.
-
bitopNot
Perform bitwise NOT between strings.- 指定者:
bitopNot
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
destination
- result key of the operation.source
- operation input key names.- 返回:
- Long integer-reply The size of the string stored in the destination key, that is equal to the size of the longest input string.
-
bitopOr
Perform bitwise OR between strings.- 指定者:
bitopOr
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
destination
- result key of the operation.keys
- operation input key names.- 返回:
- Long integer-reply The size of the string stored in the destination key, that is equal to the size of the longest input string.
-
bitopXor
Perform bitwise XOR between strings.- 指定者:
bitopXor
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
destination
- result key of the operation.keys
- operation input key names.- 返回:
- Long integer-reply The size of the string stored in the destination key, that is equal to the size of the longest input string.
-
decr
Decrement the integer value of a key by one. -
decrby
Decrement the integer value of a key by the given number. -
get
Get the value of a key. -
getbit
Returns the bit value at offset in the string value stored at key. -
getdel
-
getex
-
getrange
Get a substring of the string stored at a key. -
getset
Set the string value of a key and return its old value. -
incr
Increment the integer value of a key by one. -
incrby
Increment the integer value of a key by the given amount. -
incrbyfloat
Increment the float value of a key by the given amount. -
mget
Get the values of all the given keys with pipelining. Cross-slot keys will result in multiple calls to the particular cluster nodes. -
mget
@Deprecated public reactor.core.publisher.Mono<Long> mget(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String... keys) 已过时。Stream over the values of all the given keys. -
mset
Set multiple keys to multiple values with pipelining. Cross-slot keys will result in multiple calls to the particular cluster nodes. -
msetnx
Set multiple keys to multiple values, only if none of the keys exist with pipelining. Cross-slot keys will result in multiple calls to the particular cluster nodes.- 指定者:
msetnx
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
msetnx
在接口中io.lettuce.core.api.reactive.RedisStringReactiveCommands<String,
String> - 参数:
map
- the null.- 返回:
- Boolean integer-reply specifically:
1
if the all the keys were set.0
if no key was set (at least one key already existed).
-
set
Set the string value of a key. -
set
public reactor.core.publisher.Mono<String> set(String key, String value, io.lettuce.core.SetArgs setArgs) Set the string value of a key. -
setGet
-
setGet
-
setbit
Sets or clears the bit at offset in the string value stored at key. -
setex
Set the value and expiration of a key. -
psetex
Set the value and expiration in milliseconds of a key. -
setnx
Set the value of a key, only if the key does not exist. -
setrange
Overwrite part of a string at key starting at the specified offset. -
stralgoLcs
public reactor.core.publisher.Mono<io.lettuce.core.StringMatchResult> stralgoLcs(io.lettuce.core.StrAlgoArgs strAlgoArgs) The STRALGO command implements complex algorithms that operate on strings. This method uses the LCS algorithm (longest common substring).- Without modifiers the string representing the longest common substring is returned.
- When
LEN
is given the command returns the length of the longest common substring. - When
IDX
is given the command returns an array with the LCS length and all the ranges in both the strings, start and end offset for each string, where there are matches. WhenWITHMATCHLEN
is given each array representing a match will also have the length of the match.
-
strlen
Get the length of the value stored in a key. -
bgrewriteaof
Asynchronously rewrite the append-only file. -
bgsave
Asynchronously save the dataset to disk. -
clientCaching
-
clientGetname
Get the current connection name. -
clientGetredir
-
clientSetname
Set the current connection name on all cluster nodes with pipelining.- 指定者:
clientSetname
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
clientSetname
在接口中io.lettuce.core.api.reactive.RedisServerReactiveCommands<String,
String> - 参数:
name
- the client name.- 返回:
- simple-string-reply
OK
if the connection name was successfully set.
-
clientSetinfo
-
clientTracking
public reactor.core.publisher.Mono<String> clientTracking(io.lettuce.core.TrackingArgs trackingArgs) -
clientKill
Kill the connection of a client identified by ip:port. -
clientKill
Kill connections of clients which are filtered bykillArgs
. -
clientUnblock
Unblock the specified blocked client. -
clientPause
Stop processing commands from clients for some time. -
clientList
Get the list of client connections.- 指定者:
clientList
在接口中io.lettuce.core.api.reactive.RedisServerReactiveCommands<String,
String> - 返回:
- String bulk-string-reply a unique string, formatted as follows: One client connection per line (separated by LF), each line is composed of a succession of property=value fields separated by a space character.
-
clientList
public reactor.core.publisher.Mono<String> clientList(io.lettuce.core.ClientListArgs clientListArgs) -
clientInfo
-
clientNoEvict
-
clientId
Get the id of the current connection. -
command
Returns an array reply of details about all Redis commands. -
commandInfo
Returns an array reply of details about the requested commands. -
commandInfo
public reactor.core.publisher.Flux<Object> commandInfo(io.lettuce.core.protocol.CommandType... commands) Returns an array reply of details about the requested commands. -
commandCount
Get total number of Redis commands. -
configGet
Get the value of a configuration parameter. -
configGet
-
configResetstat
Reset the stats returned by INFO. -
configRewrite
Rewrite the configuration file with the in memory configuration. -
configSet
Set a configuration parameter to the given value. -
configSet
-
flushall
Remove all keys from all databases on all cluster masters with pipelining. -
flushall
-
flushallAsync
Remove all keys asynchronously from all databases on all cluster upstream nodes with pipelining. -
flushdb
Remove all keys from the current database on all cluster masters with pipelining. -
flushdb
-
flushdbAsync
已过时。Remove all keys asynchronously from the current database. -
info
Get information and statistics about the server. -
info
Get information and statistics about the server. -
lastsave
Get the UNIX time stamp of the last successful save to disk. -
memoryUsage
Reports the number of bytes that a key and its value require to be stored in RAM. -
replicaof
-
replicaofNoOne
-
save
Synchronously save the dataset to disk. -
dbsize
Return the number of keys in the selected database on all cluster masters. -
debugCrashAndRecover
Crash and recover. -
debugHtstats
Get debugging information about the internal hash-table state. -
debugObject
Get debugging information about a key. -
debugOom
Make the server crash: Out of memory. -
debugSegfault
Make the server crash: Invalid pointer access. -
debugReload
Save RDB, clear the database and reload RDB. -
debugRestart
Restart the server gracefully. -
debugSdslen
Get debugging information about the internal SDS length. -
keys
Find all keys matching the given pattern on all cluster masters. -
keys
@Deprecated public reactor.core.publisher.Mono<Long> keys(io.lettuce.core.output.KeyStreamingChannel<String> channel, String pattern) 已过时。Find all keys matching the given pattern on all cluster masters. -
migrate
public reactor.core.publisher.Mono<String> migrate(String host, int port, String key, int db, long timeout) Atomically transfer a key from a Redis instance to another one. -
migrate
public reactor.core.publisher.Mono<String> migrate(String host, int port, int db, long timeout, io.lettuce.core.MigrateArgs<String> migrateArgs) Atomically transfer one or more keys from a Redis instance to another one.- 指定者:
migrate
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
host
- the host.port
- the port.db
- the database.timeout
- the timeout in milliseconds.migrateArgs
- migrate args that allow to configure further options.- 返回:
- String simple-string-reply The command returns OK on success.
-
move
Move a key to another database. -
objectEncoding
returns the kind of internal representation used in order to store the value associated with a key. -
objectFreq
-
objectIdletime
returns the number of seconds since the object stored at the specified key is idle (not requested by read or write operations). -
objectRefcount
returns the number of references of the value associated with the specified key. -
persist
Remove the expiration from a key. -
pexpire
Set a key's time to live in milliseconds. -
pexpire
-
pexpire
-
pexpire
-
pexpireat
Set the expiration for a key as a UNIX timestamp specified in milliseconds.- 指定者:
pexpireat
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
key
- the key.timestamp
- the milliseconds-timestamp type: posix time.- 返回:
- Boolean integer-reply specifically:
true
if the timeout was set.false
ifkey
does not exist or the timeout could not be set (see:EXPIRE
).
-
pexpireat
-
pexpireat
-
pexpireat
-
pexpiretime
-
pexpireat
Set the expiration for a key as a UNIX timestamp specified in milliseconds.- 指定者:
pexpireat
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
key
- the key.timestamp
- the milliseconds-timestamp type: posix time.- 返回:
- Boolean integer-reply specifically:
true
if the timeout was set.false
ifkey
does not exist or the timeout could not be set (see:EXPIRE
).
-
pexpireat
-
pttl
Get the time to live for a key in milliseconds. -
randomkey
Return a random key from the keyspace on a random master. -
rename
Rename a key. -
renamenx
Rename a key, only if the new key does not exist. -
restore
Create a key using the provided serialized value, previously obtained using DUMP. -
restore
public reactor.core.publisher.Mono<String> restore(String key, byte[] value, io.lettuce.core.RestoreArgs args) Create a key using the provided serialized value, previously obtained using DUMP. -
sort
Sort the elements in a list, set or sorted set. -
sort
@Deprecated public reactor.core.publisher.Mono<Long> sort(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key) 已过时。Sort the elements in a list, set or sorted set. -
sort
Sort the elements in a list, set or sorted set. -
sort
@Deprecated public reactor.core.publisher.Mono<Long> sort(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.SortArgs sortArgs) 已过时。Sort the elements in a list, set or sorted set. -
sortReadOnly
-
sortReadOnly
@Deprecated public reactor.core.publisher.Mono<Long> sortReadOnly(io.lettuce.core.output.ValueStreamingChannel<String> valueStreamingChannel, String s) 已过时。 -
sortReadOnly
-
sortReadOnly
@Deprecated public reactor.core.publisher.Mono<Long> sortReadOnly(io.lettuce.core.output.ValueStreamingChannel<String> valueStreamingChannel, String s, io.lettuce.core.SortArgs sortArgs) 已过时。 -
sortStore
public reactor.core.publisher.Mono<Long> sortStore(String key, io.lettuce.core.SortArgs sortArgs, String destination) Sort the elements in a list, set or sorted set. -
eval
public <T> reactor.core.publisher.Flux<T> eval(String script, io.lettuce.core.ScriptOutputType type, String... keys) Execute a Lua script server side. -
eval
public <T> reactor.core.publisher.Flux<T> eval(byte[] bytes, io.lettuce.core.ScriptOutputType scriptOutputType, String... strings) -
eval
public <T> reactor.core.publisher.Flux<T> eval(String script, io.lettuce.core.ScriptOutputType type, String[] keys, String... values) Execute a Lua script server side. -
eval
-
evalReadOnly
-
evalsha
public <T> reactor.core.publisher.Flux<T> evalsha(String digest, io.lettuce.core.ScriptOutputType type, String... keys) Evaluates a script cached on the server side by its SHA1 digest. -
evalsha
public <T> reactor.core.publisher.Flux<T> evalsha(String digest, io.lettuce.core.ScriptOutputType type, String[] keys, String... values) Execute a Lua script server side. -
evalshaReadOnly
-
scriptExists
Check existence of scripts in the script cache.- 指定者:
scriptExists
在接口中io.lettuce.core.api.reactive.RedisScriptingReactiveCommands<String,
String> - 参数:
digests
- script digests.- 返回:
- Boolean array-reply The command returns an array of integers that correspond to the specified SHA1 digest arguments. For every corresponding SHA1 digest of a script that actually exists in the script cache, an 1 is returned, otherwise 0 is returned.
-
scriptFlush
Remove all the scripts from the script cache on all cluster nodes. -
scriptFlush
-
scriptKill
Kill the script currently in execution on all cluster nodes. This call does not fail even if no scripts are running. -
scriptLoad
Load the specified Lua script into the script cache on all cluster nodes.- 指定者:
scriptLoad
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
scriptLoad
在接口中io.lettuce.core.api.reactive.RedisScriptingReactiveCommands<String,
String> - 参数:
script
- script content.- 返回:
- String bulk-string-reply This command returns the SHA1 digest of the script added into the script cache.
-
scriptLoad
-
digest
Create a SHA1 digest from a Lua script. -
digest
-
shutdown
Synchronously save the dataset to disk and then shut down all nodes of the cluster. -
shutdown
-
slaveof
Make the server a replica of another instance, or promote it as master. -
slaveofNoOne
Promote server as master. -
slowlogGet
Read the slow log. -
slowlogGet
Read the slow log. -
slowlogLen
Obtaining the current length of the slow log. -
slowlogReset
Resetting the slow log. -
time
Return the current server time. -
scan
Incrementally iterate the keys space over the whole Cluster. -
scan
public reactor.core.publisher.Mono<io.lettuce.core.KeyScanCursor<String>> scan(io.lettuce.core.ScanArgs scanArgs) Incrementally iterate the keys space over the whole Cluster. -
scan
public reactor.core.publisher.Mono<io.lettuce.core.KeyScanCursor<String>> scan(io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate the keys space over the whole Cluster.- 指定者:
scan
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
scan
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
scanCursor
- cursor to resume the scan. It's required to reuse thescanCursor
instance from the previousscan()
call.scanArgs
- scan arguments.- 返回:
- KeyScanCursor<K> scan cursor.
-
scan
public reactor.core.publisher.Mono<io.lettuce.core.KeyScanCursor<String>> scan(io.lettuce.core.ScanCursor scanCursor) Incrementally iterate the keys space over the whole Cluster.- 指定者:
scan
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
scan
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
scanCursor
- cursor to resume the scan. It's required to reuse thescanCursor
instance from the previousscan()
call.- 返回:
- KeyScanCursor<K> scan cursor.
-
scan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> scan(io.lettuce.core.output.KeyStreamingChannel<String> channel) Incrementally iterate the keys space over the whole Cluster. -
scan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> scan(io.lettuce.core.output.KeyStreamingChannel<String> channel, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate the keys space over the whole Cluster.- 指定者:
scan
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
scan
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every key.scanArgs
- scan arguments.- 返回:
- StreamScanCursor scan cursor.
-
scan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> scan(io.lettuce.core.output.KeyStreamingChannel<String> channel, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate the keys space over the whole Cluster.- 指定者:
scan
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
scan
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every key.scanCursor
- cursor to resume the scan. It's required to reuse thescanCursor
instance from the previousscan()
call.scanArgs
- scan arguments.- 返回:
- StreamScanCursor scan cursor.
-
scan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> scan(io.lettuce.core.output.KeyStreamingChannel<String> channel, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate the keys space over the whole Cluster.- 指定者:
scan
在接口中io.lettuce.core.cluster.api.reactive.RedisAdvancedClusterReactiveCommands<String,
String> - 指定者:
scan
在接口中io.lettuce.core.api.reactive.RedisKeyReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every key.scanCursor
- cursor to resume the scan. It's required to reuse thescanCursor
instance from the previousscan()
call.- 返回:
- StreamScanCursor scan cursor.
-
touch
Touch one or more keys with pipelining. Touch sets the last accessed time for a key. Non-exsitent keys wont get created. Cross-slot keys will result in multiple calls to the particular cluster nodes. -
ttl
Get the time to live for a key. -
type
Determine the type stored at key. -
geoadd
public reactor.core.publisher.Mono<Long> geoadd(String key, double longitude, double latitude, String member) Single geo add.- 指定者:
geoadd
在接口中io.lettuce.core.api.reactive.RedisGeoReactiveCommands<String,
String> - 参数:
key
- the key of the geo set.longitude
- the longitude coordinate according to WGS84.latitude
- the latitude coordinate according to WGS84.member
- the member to add.- 返回:
- Long integer-reply the number of elements that were added to the set.
-
geoadd
-
geoadd
Multi geo add. -
geoadd
-
geoadd
-
geoadd
-
geohash
public reactor.core.publisher.Flux<io.lettuce.core.Value<String>> geohash(String key, String... members) Retrieve Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index. -
georadius
public reactor.core.publisher.Flux<String> georadius(String key, double longitude, double latitude, double distance, io.lettuce.core.GeoArgs.Unit unit) Retrieve members selected by distance with the center oflongitude
andlatitude
.- 指定者:
georadius
在接口中io.lettuce.core.api.reactive.RedisGeoReactiveCommands<String,
String> - 参数:
key
- the key of the geo set.longitude
- the longitude coordinate according to WGS84.latitude
- the latitude coordinate according to WGS84.distance
- radius distance.unit
- distance unit.- 返回:
- bulk reply.
-
georadius
public reactor.core.publisher.Flux<io.lettuce.core.GeoWithin<String>> georadius(String key, double longitude, double latitude, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoArgs geoArgs) Retrieve members selected by distance with the center oflongitude
andlatitude
.- 指定者:
georadius
在接口中io.lettuce.core.api.reactive.RedisGeoReactiveCommands<String,
String> - 参数:
key
- the key of the geo set.longitude
- the longitude coordinate according to WGS84.latitude
- the latitude coordinate according to WGS84.distance
- radius distance.unit
- distance unit.geoArgs
- args to control the result.- 返回:
- nested multi-bulk reply. The
GeoWithin
contains only fields which were requested byGeoArgs
.
-
georadius
public reactor.core.publisher.Mono<Long> georadius(String key, double longitude, double latitude, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoRadiusStoreArgs<String> geoRadiusStoreArgs) Perform a {@link #(Object, double, double, double, GeoArgs.Unit, GeoArgs)} query and store the results in a sorted set.- 指定者:
georadius
在接口中io.lettuce.core.api.reactive.RedisGeoReactiveCommands<String,
String> - 参数:
key
- the key of the geo set.longitude
- the longitude coordinate according to WGS84.latitude
- the latitude coordinate according to WGS84.distance
- radius distance.unit
- distance unit.geoRadiusStoreArgs
- args to store either the resulting elements with their distance or the resulting elements with their locations a sorted set.- 返回:
- Long integer-reply the number of elements in the result.
-
georadiusbymember
public reactor.core.publisher.Flux<String> georadiusbymember(String key, String member, double distance, io.lettuce.core.GeoArgs.Unit unit) Retrieve members selected by distance with the center ofmember
. The member itself is always contained in the results. -
georadiusbymember
public reactor.core.publisher.Flux<io.lettuce.core.GeoWithin<String>> georadiusbymember(String key, String member, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoArgs geoArgs) Retrieve members selected by distance with the center ofmember
. The member itself is always contained in the results.- 指定者:
georadiusbymember
在接口中io.lettuce.core.api.reactive.RedisGeoReactiveCommands<String,
String> - 参数:
key
- the key of the geo set.member
- reference member.distance
- radius distance.unit
- distance unit.geoArgs
- args to control the result.- 返回:
- nested multi-bulk reply. The
GeoWithin
contains only fields which were requested byGeoArgs
.
-
georadiusbymember
public reactor.core.publisher.Mono<Long> georadiusbymember(String key, String member, double distance, io.lettuce.core.GeoArgs.Unit unit, io.lettuce.core.GeoRadiusStoreArgs<String> geoRadiusStoreArgs) Perform a {@link #(Object, Object, double, GeoArgs.Unit, GeoArgs)} query and store the results in a sorted set.- 指定者:
georadiusbymember
在接口中io.lettuce.core.api.reactive.RedisGeoReactiveCommands<String,
String> - 参数:
key
- the key of the geo set.member
- reference member.distance
- radius distance.unit
- distance unit.geoRadiusStoreArgs
- args to store either the resulting elements with their distance or the resulting elements with their locations a sorted set.- 返回:
- Long integer-reply the number of elements in the result.
-
geosearch
-
geosearch
-
geosearchstore
-
geopos
public reactor.core.publisher.Flux<io.lettuce.core.Value<io.lettuce.core.GeoCoordinates>> geopos(String key, String... members) Get geo coordinates for themembers
. -
geodist
public reactor.core.publisher.Mono<Double> geodist(String key, String from, String to, io.lettuce.core.GeoArgs.Unit unit) Retrieve distance between pointsfrom
andto
. If one or more elements are missingnull
is returned. Default in meters by, otherwise according tounit
-
pfadd
Adds the specified elements to the specified HyperLogLog. -
pfmerge
Merge N different HyperLogLogs into a single one. -
pfcount
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s). -
hdel
Delete one or more hash fields. -
hexists
Determine if a hash field exists. -
hget
Get the value of a hash field. -
hincrby
Increment the integer value of a hash field by the given number. -
hincrbyfloat
Increment the float value of a hash field by the given amount. -
hgetall
-
hgetall
public reactor.core.publisher.Mono<Long> hgetall(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key) Stream over all the fields and values in a hash. -
hkeys
Get all the fields in a hash. -
hkeys
public reactor.core.publisher.Mono<Long> hkeys(io.lettuce.core.output.KeyStreamingChannel<String> channel, String key) Stream over all the fields in a hash. -
hlen
Get the number of fields in a hash. -
hmget
public reactor.core.publisher.Flux<io.lettuce.core.KeyValue<String,String>> hmget(String key, String... fields) Get the values of all the given hash fields. -
hmget
public reactor.core.publisher.Mono<Long> hmget(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, String... fields) Stream over the values of all the given hash fields. -
hmset
Set multiple hash fields to multiple values. -
hrandfield
-
hrandfield
-
hrandfieldWithvalues
-
hrandfieldWithvalues
-
hscan
Incrementally iterate hash fields and associated values. -
hscan
public reactor.core.publisher.Mono<io.lettuce.core.MapScanCursor<String,String>> hscan(String key, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate hash fields and associated values. -
hscan
public reactor.core.publisher.Mono<io.lettuce.core.MapScanCursor<String,String>> hscan(String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate hash fields and associated values. -
hscan
public reactor.core.publisher.Mono<io.lettuce.core.MapScanCursor<String,String>> hscan(String key, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate hash fields and associated values. -
hscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> hscan(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key) Incrementally iterate hash fields and associated values. -
hscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> hscan(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate hash fields and associated values. -
hscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> hscan(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate hash fields and associated values.- 指定者:
hscan
在接口中io.lettuce.core.api.reactive.RedisHashReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every key-value pair.key
- the key.scanCursor
- cursor to resume from a previous scan, must not benull
.scanArgs
- scan arguments.- 返回:
- StreamScanCursor scan cursor.
-
hscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> hscan(io.lettuce.core.output.KeyValueStreamingChannel<String, String> channel, String key, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate hash fields and associated values. -
hset
Set the string value of a hash field.- 指定者:
hset
在接口中io.lettuce.core.api.reactive.RedisHashReactiveCommands<String,
String> - 参数:
key
- the key.field
- the field type: key.value
- the value.- 返回:
- Boolean integer-reply specifically:
true
iffield
is a new field in the hash andvalue
was set.false
iffield
already exists in the hash and the value was updated.
-
hset
Set multiple hash fields to multiple values. -
hsetnx
Set the value of a hash field, only if the field does not exist.- 指定者:
hsetnx
在接口中io.lettuce.core.api.reactive.RedisHashReactiveCommands<String,
String> - 参数:
key
- the key.field
- the field type: key.value
- the value.- 返回:
- Boolean integer-reply specifically:
1
iffield
is a new field in the hash andvalue
was set.0
iffield
already exists in the hash and no operation was performed.
-
hstrlen
Get the string length of the field value in a hash. -
hvals
Get all the values in a hash. -
hvals
public reactor.core.publisher.Mono<Long> hvals(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key) Stream over all the values in a hash. -
blmove
-
blmove
-
blmpop
-
blmpop
-
blpop
public reactor.core.publisher.Mono<io.lettuce.core.KeyValue<String,String>> blpop(long timeout, String... keys) Remove and get the first element in a list, or block until one is available.- 指定者:
blpop
在接口中io.lettuce.core.api.reactive.RedisListReactiveCommands<String,
String> - 参数:
timeout
- the timeout in seconds.keys
- the keys.- 返回:
- KeyValue<K,V> array-reply specifically:
A
null
multi-bulk when no element could be popped and the timeout expired. A two-element multi-bulk with the first element being the name of the key where an element was popped and the second element being the value of the popped element.
-
blpop
-
brpop
public reactor.core.publisher.Mono<io.lettuce.core.KeyValue<String,String>> brpop(long timeout, String... keys) Remove and get the last element in a list, or block until one is available.- 指定者:
brpop
在接口中io.lettuce.core.api.reactive.RedisListReactiveCommands<String,
String> - 参数:
timeout
- the timeout in seconds.keys
- the keys.- 返回:
- KeyValue<K,V> array-reply specifically:
A
null
multi-bulk when no element could be popped and the timeout expired. A two-element multi-bulk with the first element being the name of the key where an element was popped and the second element being the value of the popped element.
-
brpop
-
brpoplpush
public reactor.core.publisher.Mono<String> brpoplpush(long timeout, String source, String destination) Pop a value from a list, push it to another list and return it; or block until one is available.- 指定者:
brpoplpush
在接口中io.lettuce.core.api.reactive.RedisListReactiveCommands<String,
String> - 参数:
timeout
- the timeout in seconds.source
- the source key.destination
- the destination type: key.- 返回:
- V bulk-string-reply the element being popped from
source
and pushed todestination
. Iftimeout
is reached, a.
-
brpoplpush
-
lindex
Get an element from a list by its index. -
linsert
public reactor.core.publisher.Mono<Long> linsert(String key, boolean before, String pivot, String value) Insert an element before or after another element in a list. -
llen
Get the length of a list. -
lmove
-
lmpop
-
lpop
Remove and get the first element in a list. -
lpop
-
lpos
Return the index of matching elements inside a Redis list. By default, when no options are given, it will scan the list from head to tail, looking for the first match of "element". If the element is found, its index (the zero-based position in the list) is returned. Otherwise, if no match is found,null
is returned. The returned elements indexes are always referring to whatRedisListReactiveCommands.lindex(Object, long)
would return. So first element from head is0
, and so forth. -
lpos
public reactor.core.publisher.Mono<Long> lpos(String key, String value, io.lettuce.core.LPosArgs args) Return the index of matching elements inside a Redis list. By default, when no options are given, it will scan the list from head to tail, looking for the first match of "element". If the element is found, its index (the zero-based position in the list) is returned. Otherwise, if no match is found,null
is returned. The returned elements indexes are always referring to whatRedisListReactiveCommands.lindex(Object, long)
would return. So first element from head is0
, and so forth.- 指定者:
lpos
在接口中io.lettuce.core.api.reactive.RedisListReactiveCommands<String,
String> - 参数:
key
- the key.value
- the element to search for.args
- command arguments to configureFIRST
andMAXLEN
options.- 返回:
- V integer-reply representing the matching element, or null if there is no match.
- 从以下版本开始:
- 5.3.2
-
lpos
Return the index of matching elements inside a Redis list using theCOUNT
option. By default, when no options are given, it will scan the list from head to tail, looking for the first match of "element". The returned elements indexes are always referring to whatRedisListReactiveCommands.lindex(Object, long)
would return. So first element from head is0
, and so forth. -
lpos
public reactor.core.publisher.Flux<Long> lpos(String key, String value, int count, io.lettuce.core.LPosArgs args) Return the index of matching elements inside a Redis list using theCOUNT
option. By default, when no options are given, it will scan the list from head to tail, looking for the first match of "element". The returned elements indexes are always referring to whatRedisListReactiveCommands.lindex(Object, long)
would return. So first element from head is0
, and so forth.- 指定者:
lpos
在接口中io.lettuce.core.api.reactive.RedisListReactiveCommands<String,
String> - 参数:
key
- the key.value
- the element to search for.count
- limit the number of matches.args
- command arguments to configureFIRST
andMAXLEN
options.- 返回:
- V integer-reply representing the matching elements, or empty if there is no match.
- 从以下版本开始:
- 5.3.2
-
lpush
Prepend one or multiple values to a list. -
lpushx
Prepend values to a list, only if the list exists. -
lrange
Get a range of elements from a list. -
lrange
public reactor.core.publisher.Mono<Long> lrange(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, long start, long stop) Get a range of elements from a list. -
lrem
Remove elements from a list. -
lset
Set the value of an element in a list by its index. -
ltrim
Trim a list to the specified range. -
rpop
Remove and get the last element in a list. -
rpop
-
rpoplpush
Remove the last element in a list, append it to another list and return it. -
rpush
Append one or multiple values to a list. -
rpushx
Append values to a list, only if the list exists. -
sadd
Add one or more members to a set. -
scard
Get the number of members in a set. -
sdiff
Subtract multiple sets. -
sdiff
public reactor.core.publisher.Mono<Long> sdiff(io.lettuce.core.output.ValueStreamingChannel<String> channel, String... keys) Subtract multiple sets. -
sdiffstore
Subtract multiple sets and store the resulting set in a key. -
sinter
Intersect multiple sets. -
sinter
@Deprecated public reactor.core.publisher.Mono<Long> sinter(io.lettuce.core.output.ValueStreamingChannel<String> channel, String... keys) 已过时。Intersect multiple sets. -
sintercard
-
sintercard
-
sinterstore
Intersect multiple sets and store the resulting set in a key. -
sismember
Determine if a given value is a member of a set. -
smove
Move a member from one set to another.- 指定者:
smove
在接口中io.lettuce.core.api.reactive.RedisSetReactiveCommands<String,
String> - 参数:
source
- the source key.destination
- the destination type: key.member
- the member type: value.- 返回:
- Boolean integer-reply specifically:
true
if the element is moved.false
if the element is not a member ofsource
and no operation was performed.
-
smembers
Get all the members in a set. -
smembers
@Deprecated public reactor.core.publisher.Mono<Long> smembers(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key) 已过时。Get all the members in a set. -
smismember
-
spop
Remove and return a random member from a set. -
spop
Remove and return one or multiple random members from a set. -
srandmember
Get one random member from a set. -
srandmember
Get one or multiple random members from a set.- 指定者:
srandmember
在接口中io.lettuce.core.api.reactive.RedisSetReactiveCommands<String,
String> - 参数:
key
- the key.count
- the count type: long.- 返回:
- V bulk-string-reply without the additional
count
argument the command returns a Bulk Reply with the randomly selected element, ornull
whenkey
does not exist.
-
srandmember
@Deprecated public reactor.core.publisher.Mono<Long> srandmember(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, long count) 已过时。Get one or multiple random members from a set. -
srem
Remove one or more members from a set. -
sunion
Add multiple sets. -
sunion
@Deprecated public reactor.core.publisher.Mono<Long> sunion(io.lettuce.core.output.ValueStreamingChannel<String> channel, String... keys) 已过时。Add multiple sets. -
sunionstore
Add multiple sets and store the resulting set in a key. -
sscan
Incrementally iterate Set elements. -
sscan
public reactor.core.publisher.Mono<io.lettuce.core.ValueScanCursor<String>> sscan(String key, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate Set elements. -
sscan
public reactor.core.publisher.Mono<io.lettuce.core.ValueScanCursor<String>> sscan(String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate Set elements. -
sscan
public reactor.core.publisher.Mono<io.lettuce.core.ValueScanCursor<String>> sscan(String key, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate Set elements. -
sscan
@Deprecated public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> sscan(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key) 已过时。Incrementally iterate Set elements. -
sscan
@Deprecated public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> sscan(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanArgs scanArgs) 已过时。Incrementally iterate Set elements. -
sscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> sscan(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate Set elements.- 指定者:
sscan
在接口中io.lettuce.core.api.reactive.RedisSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every value.key
- the key.scanCursor
- cursor to resume from a previous scan, must not benull
.scanArgs
- scan arguments.- 返回:
- StreamScanCursor scan cursor.
-
sscan
@Deprecated public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> sscan(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor) 已过时。Incrementally iterate Set elements. -
bzmpop
-
bzmpop
-
bzmpop
-
bzmpop
-
bzpopmin
public reactor.core.publisher.Mono<io.lettuce.core.KeyValue<String,io.lettuce.core.ScoredValue<String>>> bzpopmin(long timeout, String... keys) Removes and returns a member with the lowest scores in the sorted set stored at one of the keys. -
bzpopmin
-
bzpopmax
public reactor.core.publisher.Mono<io.lettuce.core.KeyValue<String,io.lettuce.core.ScoredValue<String>>> bzpopmax(long timeout, String... keys) Removes and returns a member with the highest scores in the sorted set stored at one of the keys. -
bzpopmax
-
zadd
Add one or more members to a sorted set, or update its score if it already exists.- 指定者:
zadd
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
key
- the key.score
- the score.member
- the member.- 返回:
- Long integer-reply specifically:
The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
-
zadd
Add one or more members to a sorted set, or update its score if it already exists.- 指定者:
zadd
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
key
- the key.scoresAndValues
- the scoresAndValue tuples (score,value,score,value,...).- 返回:
- Long integer-reply specifically:
The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
-
zadd
public reactor.core.publisher.Mono<Long> zadd(String key, io.lettuce.core.ScoredValue<String>... scoredValues) Add one or more members to a sorted set, or update its score if it already exists.- 指定者:
zadd
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
key
- the key.scoredValues
- the scored values.- 返回:
- Long integer-reply specifically:
The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
-
zadd
public reactor.core.publisher.Mono<Long> zadd(String key, io.lettuce.core.ZAddArgs zAddArgs, double score, String member) Add one or more members to a sorted set, or update its score if it already exists.- 指定者:
zadd
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
key
- the key.zAddArgs
- arguments for zadd.score
- the score.member
- the member.- 返回:
- Long integer-reply specifically:
The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
-
zadd
public reactor.core.publisher.Mono<Long> zadd(String key, io.lettuce.core.ZAddArgs zAddArgs, Object... scoresAndValues) Add one or more members to a sorted set, or update its score if it already exists.- 指定者:
zadd
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
key
- the key.zAddArgs
- arguments for zadd.scoresAndValues
- the scoresAndValue tuples (score,value,score,value,...).- 返回:
- Long integer-reply specifically:
The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
-
zadd
public reactor.core.publisher.Mono<Long> zadd(String key, io.lettuce.core.ZAddArgs zAddArgs, io.lettuce.core.ScoredValue<String>... scoredValues) Add one or more members to a sorted set, or update its score if it already exists.- 指定者:
zadd
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
key
- the ke.zAddArgs
- arguments for zadd.scoredValues
- the scored values.- 返回:
- Long integer-reply specifically:
The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
-
zaddincr
Add one or more members to a sorted set, or update its score if it already exists applying theINCR
option. ZADD acts like ZINCRBY. -
zaddincr
public reactor.core.publisher.Mono<Double> zaddincr(String key, io.lettuce.core.ZAddArgs zAddArgs, double score, String member) Add one or more members to a sorted set, or update its score if it already exists applying theINCR
option. ZADD acts like ZINCRBY. -
zcard
Get the number of members in a sorted set. -
zcount
已过时。UseRedisSortedSetReactiveCommands.zcount(Object, Range)
.Count the members in a sorted set with scores within the given values. -
zcount
已过时。UseRedisSortedSetReactiveCommands.zcount(Object, Range)
.Count the members in a sorted set with scores within the given values. -
zcount
public reactor.core.publisher.Mono<Long> zcount(String key, io.lettuce.core.Range<? extends Number> range) Count the members in a sorted set with scores within the givenRange
. -
zdiff
-
zdiffstore
-
zdiffWithScores
-
zincrby
Increment the score of a member in a sorted set. -
zinter
-
zinter
-
zintercard
-
zintercard
-
zinterWithScores
-
zinterWithScores
-
zinterstore
Intersect multiple sorted sets and store the resulting sorted set in a new key. -
zinterstore
public reactor.core.publisher.Mono<Long> zinterstore(String destination, io.lettuce.core.ZStoreArgs storeArgs, String... keys) Intersect multiple sorted sets and store the resulting sorted set in a new key. -
zlexcount
已过时。UseRedisSortedSetReactiveCommands.zlexcount(Object, Range)
.Count the number of members in a sorted set between a given lexicographical range. -
zlexcount
public reactor.core.publisher.Mono<Long> zlexcount(String key, io.lettuce.core.Range<? extends String> range) Count the number of members in a sorted set between a given lexicographical range. -
zmscore
-
zmpop
-
zmpop
-
zpopmin
Removes and returns up to count members with the lowest scores in the sorted set stored at key. -
zpopmin
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zpopmin(String key, long count) Removes and returns up to count members with the lowest scores in the sorted set stored at key. -
zpopmax
Removes and returns up to count members with the highest scores in the sorted set stored at key. -
zpopmax
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zpopmax(String key, long count) Removes and returns up to count members with the highest scores in the sorted set stored at key. -
zrandmember
-
zrandmember
-
zrandmemberWithScores
-
zrandmemberWithScores
-
zrange
Return a range of members in a sorted set, by index. -
zrange
@Deprecated public reactor.core.publisher.Mono<Long> zrange(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, long start, long stop) 已过时。Return a range of members in a sorted set, by index. -
zrangeWithScores
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrangeWithScores(String key, long start, long stop) Return a range of members with scores in a sorted set, by index. -
zrangeWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrangeWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, long start, long stop) 已过时。Stream over a range of members with scores in a sorted set, by index. -
zrangebylex
@Deprecated public reactor.core.publisher.Flux<String> zrangebylex(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebylex(Object, Range)
.Return a range of members in a sorted set, by lexicographical range. -
zrangebylex
public reactor.core.publisher.Flux<String> zrangebylex(String key, io.lettuce.core.Range<? extends String> range) Return a range of members in a sorted set, by lexicographical range. -
zrangebylex
@Deprecated public reactor.core.publisher.Flux<String> zrangebylex(String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebylex(Object, Range)
.Return a range of members in a sorted set, by lexicographical range. -
zrangebylex
public reactor.core.publisher.Flux<String> zrangebylex(String key, io.lettuce.core.Range<? extends String> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by lexicographical range. -
zrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrangebyscore(String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range)
.Return a range of members in a sorted set, by score. -
zrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrangebyscore(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range)
.Return a range of members in a sorted set, by score. -
zrangebyscore
public reactor.core.publisher.Flux<String> zrangebyscore(String key, io.lettuce.core.Range<? extends Number> range) Return a range of members in a sorted set, by score. -
zrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrangebyscore(String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range, Limit)
.Return a range of members in a sorted set, by score. -
zrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrangebyscore(String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(Object, Range, Limit)
.Return a range of members in a sorted set, by score. -
zrangebyscore
public reactor.core.publisher.Flux<String> zrangebyscore(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by score. -
zrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range)
.Stream over a range of members in a sorted set, by score. -
zrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range)
.Stream over a range of members in a sorted set, by score. -
zrangebyscore
public reactor.core.publisher.Mono<Long> zrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range) Stream over a range of members in a sorted set, by score. -
zrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range, Limit limit)
.Stream over range of members in a sorted set, by score.- 指定者:
zrangebyscore
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified score range.
-
zrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscore(ValueStreamingChannel, Object, Range, Limit limit)
.Stream over a range of members in a sorted set, by score.- 指定者:
zrangebyscore
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified score range.
-
zrangebyscore
public reactor.core.publisher.Mono<Long> zrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Stream over a range of members in a sorted set, by score. -
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrangebyscoreWithScores(String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range)
.Return a range of members with score in a sorted set, by score. -
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrangebyscoreWithScores(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range)
.Return a range of members with score in a sorted set, by score. -
zrangebyscoreWithScores
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrangebyscoreWithScores(String key, io.lettuce.core.Range<? extends Number> range) Return a range of members with score in a sorted set, by score. -
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrangebyscoreWithScores(String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range, Limit limit)
.Return a range of members with score in a sorted set, by score. -
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrangebyscoreWithScores(String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(Object, Range, Limit)
.Return a range of members with score in a sorted set, by score. -
zrangebyscoreWithScores
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrangebyscoreWithScores(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Return a range of members with score in a sorted set, by score. -
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.Stream over a range of members with scores in a sorted set, by score. -
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.Stream over a range of members with scores in a sorted set, by score. -
zrangebyscoreWithScores
public reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range) Stream over a range of members with scores in a sorted set, by score. -
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double min, double max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit limit)
.Stream over a range of members with scores in a sorted set, by score.- 指定者:
zrangebyscoreWithScores
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified score range.
-
zrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String min, String max, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit limit)
.Stream over a range of members with scores in a sorted set, by score.- 指定者:
zrangebyscoreWithScores
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified score range.
-
zrangebyscoreWithScores
public reactor.core.publisher.Mono<Long> zrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Stream over a range of members with scores in a sorted set, by score.- 指定者:
zrangebyscoreWithScores
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every scored value.key
- the key.range
- the range.limit
- the limit.- 返回:
- Long count of elements in the specified score range.
- 从以下版本开始:
- 4.3
-
zrangestore
-
zrangestorebylex
-
zrangestorebyscore
-
zrank
Determine the index of a member in a sorted set. -
zrankWithScore
-
zrem
Remove one or more members from a sorted set. -
zremrangebylex
@Deprecated public reactor.core.publisher.Mono<Long> zremrangebylex(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zremrangebylex(Object, Range)
.Remove all members in a sorted set between the given lexicographical range. -
zremrangebylex
public reactor.core.publisher.Mono<Long> zremrangebylex(String key, io.lettuce.core.Range<? extends String> range) Remove all members in a sorted set between the given lexicographical range. -
zremrangebyrank
Remove all members in a sorted set within the given indexes. -
zremrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zremrangebyscore(String key, double min, double max) 已过时。UseRedisSortedSetReactiveCommands.zremrangebyscore(Object, Range)
.Remove all members in a sorted set within the given scores. -
zremrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zremrangebyscore(String key, String min, String max) 已过时。UseRedisSortedSetReactiveCommands.zremrangebyscore(Object, Range)
.Remove all members in a sorted set within the given scores. -
zremrangebyscore
public reactor.core.publisher.Mono<Long> zremrangebyscore(String key, io.lettuce.core.Range<? extends Number> range) Remove all members in a sorted set within the given scores. -
zrevrange
Return a range of members in a sorted set, by index, with scores ordered from high to low. -
zrevrange
public reactor.core.publisher.Mono<Long> zrevrange(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, long start, long stop) Stream over a range of members in a sorted set, by index, with scores ordered from high to low. -
zrevrangeWithScores
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrevrangeWithScores(String 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. -
zrevrangeWithScores
public reactor.core.publisher.Mono<Long> zrevrangeWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String 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. -
zrevrangebylex
public reactor.core.publisher.Flux<String> zrevrangebylex(String key, io.lettuce.core.Range<? extends String> range) Return a range of members in a sorted set, by lexicographical range ordered from high to low. -
zrevrangebylex
public reactor.core.publisher.Flux<String> zrevrangebylex(String key, io.lettuce.core.Range<? extends String> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by lexicographical range ordered from high to low. -
zrevrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrevrangebyscore(String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.Return a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrevrangebyscore(String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.Return a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
public reactor.core.publisher.Flux<String> zrevrangebyscore(String key, io.lettuce.core.Range<? extends Number> range) Return a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrevrangebyscore(String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range, Limit)
.Return a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
@Deprecated public reactor.core.publisher.Flux<String> zrevrangebyscore(String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range, Limit)
.Return a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
public reactor.core.publisher.Flux<String> zrevrangebyscore(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Return a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.Stream over a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscore(Object, Range)
.Stream over a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
public reactor.core.publisher.Mono<Long> zrevrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range) Stream over a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.Stream over a range of members in a sorted set, by score, with scores ordered from high to low.- 指定者:
zrevrangebyscore
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every value.key
- the key.max
- max score.min
- min score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified range.
-
zrevrangebyscore
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.Stream over a range of members in a sorted set, by score, with scores ordered from high to low.- 指定者:
zrevrangebyscore
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every value.key
- the key.max
- max score.min
- min score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified range.
-
zrevrangebyscore
public reactor.core.publisher.Mono<Long> zrevrangebyscore(io.lettuce.core.output.ValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Stream over a range of members in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrevrangebyscoreWithScores(String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range)
.Return a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrevrangebyscoreWithScores(String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range)
.Return a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrevrangebyscoreWithScores(String key, io.lettuce.core.Range<? extends Number> range) Return a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrevrangebyscoreWithScores(String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.Return a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrevrangebyscoreWithScores(String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(Object, Range, Limit)
.Return a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
public reactor.core.publisher.Flux<io.lettuce.core.ScoredValue<String>> zrevrangebyscoreWithScores(String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Return a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double max, double min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String max, String min) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range)
.Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low. -
zrevrangebyscoreWithScores
public reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.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. -
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, double max, double min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit)
.Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.- 指定者:
zrevrangebyscoreWithScores
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every scored value.key
- the key.max
- max score.min
- min score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified range.
-
zrevrangebyscoreWithScores
@Deprecated public reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, String max, String min, long offset, long count) 已过时。UseRedisSortedSetReactiveCommands.zrevrangebyscoreWithScores(ScoredValueStreamingChannel, Object, Range, Limit)
.Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.- 指定者:
zrevrangebyscoreWithScores
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every scored value.key
- the key.max
- max score.min
- min score.offset
- the offset.count
- the count.- 返回:
- Long count of elements in the specified range.
-
zrevrangebyscoreWithScores
public reactor.core.publisher.Mono<Long> zrevrangebyscoreWithScores(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.Range<? extends Number> range, io.lettuce.core.Limit limit) Stream over a range of members with scores in a sorted set, by score, with scores ordered from high to low.- 指定者:
zrevrangebyscoreWithScores
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every scored value.key
- the key.range
- the range.limit
- the limit.- 返回:
- Long count of elements in the specified range.
- 从以下版本开始:
- 4.3
-
zrevrangestore
-
zrevrangestorebylex
-
zrevrangestorebyscore
-
zrevrank
Determine the index of a member in a sorted set, with scores ordered from high to low. -
zrevrankWithScore
-
zscan
Incrementally iterate sorted sets elements and associated scores. -
zscan
public reactor.core.publisher.Mono<io.lettuce.core.ScoredValueScanCursor<String>> zscan(String key, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate sorted sets elements and associated scores. -
zscan
public reactor.core.publisher.Mono<io.lettuce.core.ScoredValueScanCursor<String>> zscan(String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate sorted sets elements and associated scores. -
zscan
public reactor.core.publisher.Mono<io.lettuce.core.ScoredValueScanCursor<String>> zscan(String key, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate sorted sets elements and associated scores. -
zscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> zscan(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key) Incrementally iterate sorted sets elements and associated scores. -
zscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> zscan(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate sorted sets elements and associated scores. -
zscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> zscan(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor, io.lettuce.core.ScanArgs scanArgs) Incrementally iterate sorted sets elements and associated scores.- 指定者:
zscan
在接口中io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands<String,
String> - 参数:
channel
- streaming channel that receives a call for every scored value.key
- the key.scanCursor
- cursor to resume from a previous scan, must not benull
.scanArgs
- scan arguments.- 返回:
- StreamScanCursor scan cursor.
-
zscan
public reactor.core.publisher.Mono<io.lettuce.core.StreamScanCursor> zscan(io.lettuce.core.output.ScoredValueStreamingChannel<String> channel, String key, io.lettuce.core.ScanCursor scanCursor) Incrementally iterate sorted sets elements and associated scores. -
zscore
Get the score associated with the given member in a sorted set. -
zunion
-
zunion
-
zunionWithScores
-
zunionWithScores
-
zunionstore
Add multiple sorted sets and store the resulting sorted set in a new key. -
zunionstore
public reactor.core.publisher.Mono<Long> zunionstore(String destination, io.lettuce.core.ZStoreArgs storeArgs, String... keys) Add multiple sorted sets and store the resulting sorted set in a new key. -
xack
Acknowledge one or more messages as processed. -
xadd
Append a message to the streamkey
. -
xadd
public reactor.core.publisher.Mono<String> xadd(String key, io.lettuce.core.XAddArgs args, Map<String, String> body) Append a message to the streamkey
. -
xadd
Append a message to the streamkey
. -
xadd
public reactor.core.publisher.Mono<String> xadd(String key, io.lettuce.core.XAddArgs args, Object... keysAndValues) Append a message to the streamkey
. -
xautoclaim
-
xclaim
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xclaim(String key, io.lettuce.core.Consumer<String> consumer, long minIdleTime, String... messageIds) Gets ownership of one or multiple messages in the Pending Entries List of a given stream consumer group. -
xclaim
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xclaim(String key, io.lettuce.core.Consumer<String> consumer, io.lettuce.core.XClaimArgs args, String... messageIds) Gets ownership of one or multiple messages in the Pending Entries List of a given stream consumer group.Note that setting the
JUSTID
flag (calling this method withXClaimArgs.justid()
) suppresses the message bode andStreamMessage.getBody()
isnull
. -
xdel
Removes the specified entries from the stream. Returns the number of items deleted, that may be different from the number of IDs passed in case certain IDs do not exist. -
xgroupCreate
public reactor.core.publisher.Mono<String> xgroupCreate(io.lettuce.core.XReadArgs.StreamOffset<String> streamOffset, String group) Create a consumer group. -
xgroupCreate
public reactor.core.publisher.Mono<String> xgroupCreate(io.lettuce.core.XReadArgs.StreamOffset<String> streamOffset, String group, io.lettuce.core.XGroupCreateArgs args) Create a consumer group. -
xgroupCreateconsumer
-
xgroupDelconsumer
-
xgroupDestroy
Destroy a consumer group. -
xgroupSetid
public reactor.core.publisher.Mono<String> xgroupSetid(io.lettuce.core.XReadArgs.StreamOffset<String> streamOffset, String group) Set the currentgroup
id. -
xinfoStream
Retrieve information about the stream atkey
. -
xinfoGroups
Retrieve information about the stream consumer groups atkey
. -
xinfoConsumers
Retrieve information about consumer groups of groupgroup
and stream atkey
. -
xlen
Get the length of a steam. -
xpending
-
xpending
-
xpending
-
xpending
-
xrange
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xrange(String key, io.lettuce.core.Range<String> range) Read messages from a stream within a specificRange
. -
xrange
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xrange(String key, io.lettuce.core.Range<String> range, io.lettuce.core.Limit limit) Read messages from a stream within a specificRange
applying aLimit
. -
xread
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xread(io.lettuce.core.XReadArgs.StreamOffset<String>... streams) Read messages from one or moreStreamOffset
s. -
xread
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xread(io.lettuce.core.XReadArgs args, io.lettuce.core.XReadArgs.StreamOffset<String>... streams) Read messages from one or moreStreamOffset
s. -
xreadgroup
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xreadgroup(io.lettuce.core.Consumer<String> consumer, io.lettuce.core.XReadArgs.StreamOffset<String>... streams) Read messages from one or moreStreamOffset
s using a consumer group. -
xreadgroup
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xreadgroup(io.lettuce.core.Consumer<String> consumer, io.lettuce.core.XReadArgs args, io.lettuce.core.XReadArgs.StreamOffset<String>... streams) Read messages from one or moreStreamOffset
s using a consumer group. -
xrevrange
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xrevrange(String key, io.lettuce.core.Range<String> range) Read messages from a stream within a specificRange
in reverse order. -
xrevrange
public reactor.core.publisher.Flux<io.lettuce.core.StreamMessage<String,String>> xrevrange(String key, io.lettuce.core.Range<String> range, io.lettuce.core.Limit limit) Read messages from a stream within a specificRange
applying aLimit
in reverse order. -
xtrim
Trims the stream tocount
elements. -
xtrim
Trims the stream tocount
elements. -
xtrim
-
aclCat
-
aclCat
public reactor.core.publisher.Mono<Set<io.lettuce.core.protocol.CommandType>> aclCat(io.lettuce.core.AclCategory aclCategory) -
aclDeluser
-
aclDryRun
-
aclDryRun
-
aclGenpass
-
aclGenpass
-
aclGetuser
-
aclList
-
aclLoad
-
aclLog
-
aclLog
-
aclLogReset
-
aclSave
-
aclSetuser
-
aclUsers
-
aclWhoami
-
fcall
-
fcall
-
fcallReadOnly
-
fcallReadOnly
-
functionLoad
-
functionLoad
-
functionDump
public reactor.core.publisher.Mono<byte[]> functionDump() -
functionRestore
-
functionRestore
public reactor.core.publisher.Mono<String> functionRestore(byte[] bytes, io.lettuce.core.FunctionRestoreMode functionRestoreMode) -
functionFlush
-
functionKill
-
functionList
-
functionList
-
RedisSortedSetReactiveCommands.zcount(Object, Range)
.