Interface ReactiveRedisClusterConnection
- All Superinterfaces:
AutoCloseable
,Closeable
,ReactiveClusterCommands
,ReactiveRedisConnection
public interface ReactiveRedisClusterConnection
extends ReactiveRedisConnection, ReactiveClusterCommands
- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.ReactiveClusterCommands
ReactiveClusterCommands.AddSlots
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection
ReactiveRedisConnection.AbsentByteBufferResponse<I>, ReactiveRedisConnection.BooleanResponse<I>, ReactiveRedisConnection.ByteBufferResponse<I>, ReactiveRedisConnection.Command, ReactiveRedisConnection.CommandResponse<I,
O>, ReactiveRedisConnection.KeyCommand, ReactiveRedisConnection.KeyScanCommand, ReactiveRedisConnection.MultiValueResponse<I, O>, ReactiveRedisConnection.NumericResponse<I, O extends Number>, ReactiveRedisConnection.RangeCommand -
Method Summary
Modifier and TypeMethodDescriptionGetReactiveHashCommands
.GetReactiveKeyCommands
.GetReactiveListCommands
.reactor.core.publisher.Mono<String>
ping
(RedisClusterNode node) Test the connection to a specific Redis cluster node.GetReactiveSetCommands
.GetReactiveZSetCommands
.Methods inherited from interface org.springframework.data.redis.connection.ReactiveClusterCommands
clusterAddSlots, clusterAddSlots, clusterCountKeysInSlot, clusterDeleteSlots, clusterDeleteSlotsInRange, clusterForget, clusterGetClusterInfo, clusterGetKeysInSlot, clusterGetMasterReplicaMap, clusterGetNodeForKey, clusterGetNodeForSlot, clusterGetNodes, clusterGetReplicas, clusterGetSlotForKey, clusterMeet, clusterReplicate, clusterSetSlot
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection
close, closeLater, ping, pubSubCommands, scriptingCommands
-
Method Details
-
keyCommands
ReactiveClusterKeyCommands keyCommands()Description copied from interface:ReactiveRedisConnection
GetReactiveKeyCommands
.- Specified by:
keyCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
stringCommands
ReactiveClusterStringCommands stringCommands()Description copied from interface:ReactiveRedisConnection
- Specified by:
stringCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
numberCommands
ReactiveClusterNumberCommands numberCommands()Description copied from interface:ReactiveRedisConnection
- Specified by:
numberCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
listCommands
ReactiveClusterListCommands listCommands()Description copied from interface:ReactiveRedisConnection
GetReactiveListCommands
.- Specified by:
listCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
setCommands
ReactiveClusterSetCommands setCommands()Description copied from interface:ReactiveRedisConnection
GetReactiveSetCommands
.- Specified by:
setCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
zSetCommands
ReactiveClusterZSetCommands zSetCommands()Description copied from interface:ReactiveRedisConnection
GetReactiveZSetCommands
.- Specified by:
zSetCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
hashCommands
ReactiveClusterHashCommands hashCommands()Description copied from interface:ReactiveRedisConnection
GetReactiveHashCommands
.- Specified by:
hashCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
geoCommands
ReactiveClusterGeoCommands geoCommands()Description copied from interface:ReactiveRedisConnection
- Specified by:
geoCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
hyperLogLogCommands
ReactiveClusterHyperLogLogCommands hyperLogLogCommands()Description copied from interface:ReactiveRedisConnection
- Specified by:
hyperLogLogCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
serverCommands
ReactiveClusterServerCommands serverCommands()Description copied from interface:ReactiveRedisConnection
- Specified by:
serverCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
streamCommands
ReactiveClusterStreamCommands streamCommands()Description copied from interface:ReactiveRedisConnection
- Specified by:
streamCommands
in interfaceReactiveRedisConnection
- Returns:
- never null.
-
ping
Test the connection to a specific Redis cluster node.- Parameters:
node
- must not be null.- Returns:
Mono
wrapping server response message - usually PONG.- Throws:
IllegalArgumentException
- whennode
is null.- See Also:
-