Class RedissonReactiveRedisClusterConnection
java.lang.Object
org.redisson.spring.data.connection.RedissonReactiveRedisConnection
org.redisson.spring.data.connection.RedissonReactiveRedisClusterConnection
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.springframework.data.redis.connection.ReactiveClusterCommands
,org.springframework.data.redis.connection.ReactiveRedisClusterConnection
,org.springframework.data.redis.connection.ReactiveRedisConnection
public class RedissonReactiveRedisClusterConnection
extends RedissonReactiveRedisConnection
implements org.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.ReactiveClusterCommands
org.springframework.data.redis.connection.ReactiveClusterCommands.AddSlots
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection
org.springframework.data.redis.connection.ReactiveRedisConnection.AbsentByteBufferResponse<I extends Object>, org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<I extends Object>, org.springframework.data.redis.connection.ReactiveRedisConnection.ByteBufferResponse<I extends Object>, org.springframework.data.redis.connection.ReactiveRedisConnection.Command, org.springframework.data.redis.connection.ReactiveRedisConnection.CommandResponse<I extends Object,
O extends Object>, org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand, org.springframework.data.redis.connection.ReactiveRedisConnection.KeyScanCommand, org.springframework.data.redis.connection.ReactiveRedisConnection.MultiValueResponse<I extends Object, O extends Object>, org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<I extends Object, O extends Number>, org.springframework.data.redis.connection.ReactiveRedisConnection.RangeCommand -
Constructor Summary
ConstructorDescriptionRedissonReactiveRedisClusterConnection
(CommandReactiveExecutor executorService) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
clusterAddSlots
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, int... ints) reactor.core.publisher.Mono<Void>
clusterAddSlots
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, org.springframework.data.redis.connection.RedisClusterNode.SlotRange slotRange) reactor.core.publisher.Mono<Long>
clusterCountKeysInSlot
(int slot) reactor.core.publisher.Mono<Void>
clusterDeleteSlots
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, int... ints) reactor.core.publisher.Mono<Void>
clusterDeleteSlotsInRange
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, org.springframework.data.redis.connection.RedisClusterNode.SlotRange slotRange) reactor.core.publisher.Mono<Void>
clusterForget
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode) reactor.core.publisher.Mono<org.springframework.data.redis.connection.ClusterInfo>
reactor.core.publisher.Flux<ByteBuffer>
clusterGetKeysInSlot
(int slot, int count) reactor.core.publisher.Mono<Map<org.springframework.data.redis.connection.RedisClusterNode,
Collection<org.springframework.data.redis.connection.RedisClusterNode>>> reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode>
clusterGetNodeForKey
(ByteBuffer byteBuffer) reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode>
clusterGetNodeForSlot
(int slot) reactor.core.publisher.Flux<org.springframework.data.redis.connection.RedisClusterNode>
reactor.core.publisher.Flux<org.springframework.data.redis.connection.RedisClusterNode>
clusterGetSlaves
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode) reactor.core.publisher.Mono<Integer>
clusterGetSlotForKey
(ByteBuffer byteBuffer) reactor.core.publisher.Mono<Void>
clusterMeet
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode) reactor.core.publisher.Mono<Void>
clusterReplicate
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, org.springframework.data.redis.connection.RedisClusterNode slave) reactor.core.publisher.Mono<Void>
clusterSetSlot
(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, int slot, org.springframework.data.redis.connection.ReactiveClusterCommands.AddSlots addSlots) org.springframework.data.redis.connection.ReactiveClusterGeoCommands
org.springframework.data.redis.connection.ReactiveClusterHashCommands
org.springframework.data.redis.connection.ReactiveClusterHyperLogLogCommands
org.springframework.data.redis.connection.ReactiveClusterKeyCommands
org.springframework.data.redis.connection.ReactiveClusterListCommands
org.springframework.data.redis.connection.ReactiveClusterNumberCommands
reactor.core.publisher.Mono<String>
ping
(org.springframework.data.redis.connection.RedisClusterNode node) org.springframework.data.redis.connection.ReactiveClusterServerCommands
org.springframework.data.redis.connection.ReactiveClusterSetCommands
org.springframework.data.redis.connection.ReactiveClusterStreamCommands
org.springframework.data.redis.connection.ReactiveClusterStringCommands
static byte[]
toByteArray
(ByteBuffer buffer) org.springframework.data.redis.connection.ReactiveClusterZSetCommands
Methods inherited from class org.redisson.spring.data.connection.RedissonReactiveRedisConnection
closeLater, ping, pubSubCommands, scriptingCommands
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection
close, closeLater, ping, pubSubCommands, scriptingCommands
-
Constructor Details
-
RedissonReactiveRedisClusterConnection
-
-
Method Details
-
keyCommands
public org.springframework.data.redis.connection.ReactiveClusterKeyCommands keyCommands()- Specified by:
keyCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
keyCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
keyCommands
in classRedissonReactiveRedisConnection
-
stringCommands
public org.springframework.data.redis.connection.ReactiveClusterStringCommands stringCommands()- Specified by:
stringCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
stringCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
stringCommands
in classRedissonReactiveRedisConnection
-
numberCommands
public org.springframework.data.redis.connection.ReactiveClusterNumberCommands numberCommands()- Specified by:
numberCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
numberCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
numberCommands
in classRedissonReactiveRedisConnection
-
listCommands
public org.springframework.data.redis.connection.ReactiveClusterListCommands listCommands()- Specified by:
listCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
listCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
listCommands
in classRedissonReactiveRedisConnection
-
setCommands
public org.springframework.data.redis.connection.ReactiveClusterSetCommands setCommands()- Specified by:
setCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
setCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
setCommands
in classRedissonReactiveRedisConnection
-
zSetCommands
public org.springframework.data.redis.connection.ReactiveClusterZSetCommands zSetCommands()- Specified by:
zSetCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
zSetCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
zSetCommands
in classRedissonReactiveRedisConnection
-
hashCommands
public org.springframework.data.redis.connection.ReactiveClusterHashCommands hashCommands()- Specified by:
hashCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
hashCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
hashCommands
in classRedissonReactiveRedisConnection
-
geoCommands
public org.springframework.data.redis.connection.ReactiveClusterGeoCommands geoCommands()- Specified by:
geoCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
geoCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
geoCommands
in classRedissonReactiveRedisConnection
-
hyperLogLogCommands
public org.springframework.data.redis.connection.ReactiveClusterHyperLogLogCommands hyperLogLogCommands()- Specified by:
hyperLogLogCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
hyperLogLogCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
hyperLogLogCommands
in classRedissonReactiveRedisConnection
-
serverCommands
public org.springframework.data.redis.connection.ReactiveClusterServerCommands serverCommands()- Specified by:
serverCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
serverCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
serverCommands
in classRedissonReactiveRedisConnection
-
streamCommands
public org.springframework.data.redis.connection.ReactiveClusterStreamCommands streamCommands()- Specified by:
streamCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
- Specified by:
streamCommands
in interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection
- Overrides:
streamCommands
in classRedissonReactiveRedisConnection
-
ping
public reactor.core.publisher.Mono<String> ping(org.springframework.data.redis.connection.RedisClusterNode node) - Specified by:
ping
in interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
-
clusterGetNodes
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodes()- Specified by:
clusterGetNodes
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetSlaves
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.RedisClusterNode> clusterGetSlaves(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode) - Specified by:
clusterGetSlaves
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetMasterSlaveMap
public reactor.core.publisher.Mono<Map<org.springframework.data.redis.connection.RedisClusterNode,Collection<org.springframework.data.redis.connection.RedisClusterNode>>> clusterGetMasterSlaveMap()- Specified by:
clusterGetMasterSlaveMap
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetSlotForKey
- Specified by:
clusterGetSlotForKey
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetNodeForSlot
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodeForSlot(int slot) - Specified by:
clusterGetNodeForSlot
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetNodeForKey
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodeForKey(ByteBuffer byteBuffer) - Specified by:
clusterGetNodeForKey
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetClusterInfo
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ClusterInfo> clusterGetClusterInfo()- Specified by:
clusterGetClusterInfo
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterAddSlots
public reactor.core.publisher.Mono<Void> clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, int... ints) - Specified by:
clusterAddSlots
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterAddSlots
public reactor.core.publisher.Mono<Void> clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, org.springframework.data.redis.connection.RedisClusterNode.SlotRange slotRange) - Specified by:
clusterAddSlots
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterCountKeysInSlot
- Specified by:
clusterCountKeysInSlot
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterDeleteSlots
public reactor.core.publisher.Mono<Void> clusterDeleteSlots(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, int... ints) - Specified by:
clusterDeleteSlots
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterDeleteSlotsInRange
public reactor.core.publisher.Mono<Void> clusterDeleteSlotsInRange(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, org.springframework.data.redis.connection.RedisClusterNode.SlotRange slotRange) - Specified by:
clusterDeleteSlotsInRange
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterForget
public reactor.core.publisher.Mono<Void> clusterForget(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode) - Specified by:
clusterForget
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterMeet
public reactor.core.publisher.Mono<Void> clusterMeet(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode) - Specified by:
clusterMeet
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterSetSlot
public reactor.core.publisher.Mono<Void> clusterSetSlot(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, int slot, org.springframework.data.redis.connection.ReactiveClusterCommands.AddSlots addSlots) - Specified by:
clusterSetSlot
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetKeysInSlot
- Specified by:
clusterGetKeysInSlot
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterReplicate
public reactor.core.publisher.Mono<Void> clusterReplicate(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode, org.springframework.data.redis.connection.RedisClusterNode slave) - Specified by:
clusterReplicate
in interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
toByteArray
-