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
Constructors Constructor Description RedissonReactiveRedisClusterConnection(CommandReactiveExecutor executorService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.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>clusterGetClusterInfo()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>>>clusterGetMasterSlaveMap()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>clusterGetNodes()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.ReactiveClusterGeoCommandsgeoCommands()org.springframework.data.redis.connection.ReactiveClusterHashCommandshashCommands()org.springframework.data.redis.connection.ReactiveClusterHyperLogLogCommandshyperLogLogCommands()org.springframework.data.redis.connection.ReactiveClusterKeyCommandskeyCommands()org.springframework.data.redis.connection.ReactiveClusterListCommandslistCommands()org.springframework.data.redis.connection.ReactiveClusterNumberCommandsnumberCommands()reactor.core.publisher.Mono<String>ping(org.springframework.data.redis.connection.RedisClusterNode node)org.springframework.data.redis.connection.ReactiveClusterServerCommandsserverCommands()org.springframework.data.redis.connection.ReactiveClusterSetCommandssetCommands()org.springframework.data.redis.connection.ReactiveClusterStreamCommandsstreamCommands()org.springframework.data.redis.connection.ReactiveClusterStringCommandsstringCommands()static byte[]toByteArray(ByteBuffer buffer)org.springframework.data.redis.connection.ReactiveClusterZSetCommandszSetCommands()-
Methods inherited from class org.redisson.spring.data.connection.RedissonReactiveRedisConnection
closeLater, ping, pubSubCommands, scriptingCommands
-
-
-
-
Constructor Detail
-
RedissonReactiveRedisClusterConnection
public RedissonReactiveRedisClusterConnection(CommandReactiveExecutor executorService)
-
-
Method Detail
-
keyCommands
public org.springframework.data.redis.connection.ReactiveClusterKeyCommands keyCommands()
- Specified by:
keyCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
keyCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
keyCommandsin classRedissonReactiveRedisConnection
-
stringCommands
public org.springframework.data.redis.connection.ReactiveClusterStringCommands stringCommands()
- Specified by:
stringCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
stringCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
stringCommandsin classRedissonReactiveRedisConnection
-
numberCommands
public org.springframework.data.redis.connection.ReactiveClusterNumberCommands numberCommands()
- Specified by:
numberCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
numberCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
numberCommandsin classRedissonReactiveRedisConnection
-
listCommands
public org.springframework.data.redis.connection.ReactiveClusterListCommands listCommands()
- Specified by:
listCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
listCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
listCommandsin classRedissonReactiveRedisConnection
-
setCommands
public org.springframework.data.redis.connection.ReactiveClusterSetCommands setCommands()
- Specified by:
setCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
setCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
setCommandsin classRedissonReactiveRedisConnection
-
zSetCommands
public org.springframework.data.redis.connection.ReactiveClusterZSetCommands zSetCommands()
- Specified by:
zSetCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
zSetCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
zSetCommandsin classRedissonReactiveRedisConnection
-
hashCommands
public org.springframework.data.redis.connection.ReactiveClusterHashCommands hashCommands()
- Specified by:
hashCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
hashCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
hashCommandsin classRedissonReactiveRedisConnection
-
geoCommands
public org.springframework.data.redis.connection.ReactiveClusterGeoCommands geoCommands()
- Specified by:
geoCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
geoCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
geoCommandsin classRedissonReactiveRedisConnection
-
hyperLogLogCommands
public org.springframework.data.redis.connection.ReactiveClusterHyperLogLogCommands hyperLogLogCommands()
- Specified by:
hyperLogLogCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
hyperLogLogCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
hyperLogLogCommandsin classRedissonReactiveRedisConnection
-
serverCommands
public org.springframework.data.redis.connection.ReactiveClusterServerCommands serverCommands()
- Specified by:
serverCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
serverCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
serverCommandsin classRedissonReactiveRedisConnection
-
streamCommands
public org.springframework.data.redis.connection.ReactiveClusterStreamCommands streamCommands()
- Specified by:
streamCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection- Specified by:
streamCommandsin interfaceorg.springframework.data.redis.connection.ReactiveRedisConnection- Overrides:
streamCommandsin classRedissonReactiveRedisConnection
-
ping
public reactor.core.publisher.Mono<String> ping(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
pingin interfaceorg.springframework.data.redis.connection.ReactiveRedisClusterConnection
-
clusterGetNodes
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodes()
- Specified by:
clusterGetNodesin 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:
clusterGetSlavesin 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:
clusterGetMasterSlaveMapin interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetSlotForKey
public reactor.core.publisher.Mono<Integer> clusterGetSlotForKey(ByteBuffer byteBuffer)
- Specified by:
clusterGetSlotForKeyin interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetNodeForSlot
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodeForSlot(int slot)
- Specified by:
clusterGetNodeForSlotin interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetNodeForKey
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodeForKey(ByteBuffer byteBuffer)
- Specified by:
clusterGetNodeForKeyin interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetClusterInfo
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ClusterInfo> clusterGetClusterInfo()
- Specified by:
clusterGetClusterInfoin 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:
clusterAddSlotsin 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:
clusterAddSlotsin interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterCountKeysInSlot
public reactor.core.publisher.Mono<Long> clusterCountKeysInSlot(int slot)
- Specified by:
clusterCountKeysInSlotin 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:
clusterDeleteSlotsin 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:
clusterDeleteSlotsInRangein interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterForget
public reactor.core.publisher.Mono<Void> clusterForget(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode)
- Specified by:
clusterForgetin interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterMeet
public reactor.core.publisher.Mono<Void> clusterMeet(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode)
- Specified by:
clusterMeetin 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:
clusterSetSlotin interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
clusterGetKeysInSlot
public reactor.core.publisher.Flux<ByteBuffer> clusterGetKeysInSlot(int slot, int count)
- Specified by:
clusterGetKeysInSlotin 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:
clusterReplicatein interfaceorg.springframework.data.redis.connection.ReactiveClusterCommands
-
toByteArray
public static byte[] toByteArray(ByteBuffer buffer)
-
-