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
     
  • Method Summary

    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>
     
    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>
     
    reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode>
     
    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>
     
    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[]
     
    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

      public RedissonReactiveRedisClusterConnection(CommandReactiveExecutor executorService)
  • Method Details

    • keyCommands

      public org.springframework.data.redis.connection.ReactiveClusterKeyCommands keyCommands()
      Specified by:
      keyCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      keyCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      keyCommands in class RedissonReactiveRedisConnection
    • stringCommands

      public org.springframework.data.redis.connection.ReactiveClusterStringCommands stringCommands()
      Specified by:
      stringCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      stringCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      stringCommands in class RedissonReactiveRedisConnection
    • numberCommands

      public org.springframework.data.redis.connection.ReactiveClusterNumberCommands numberCommands()
      Specified by:
      numberCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      numberCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      numberCommands in class RedissonReactiveRedisConnection
    • listCommands

      public org.springframework.data.redis.connection.ReactiveClusterListCommands listCommands()
      Specified by:
      listCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      listCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      listCommands in class RedissonReactiveRedisConnection
    • setCommands

      public org.springframework.data.redis.connection.ReactiveClusterSetCommands setCommands()
      Specified by:
      setCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      setCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      setCommands in class RedissonReactiveRedisConnection
    • zSetCommands

      public org.springframework.data.redis.connection.ReactiveClusterZSetCommands zSetCommands()
      Specified by:
      zSetCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      zSetCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      zSetCommands in class RedissonReactiveRedisConnection
    • hashCommands

      public org.springframework.data.redis.connection.ReactiveClusterHashCommands hashCommands()
      Specified by:
      hashCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      hashCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      hashCommands in class RedissonReactiveRedisConnection
    • geoCommands

      public org.springframework.data.redis.connection.ReactiveClusterGeoCommands geoCommands()
      Specified by:
      geoCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      geoCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      geoCommands in class RedissonReactiveRedisConnection
    • hyperLogLogCommands

      public org.springframework.data.redis.connection.ReactiveClusterHyperLogLogCommands hyperLogLogCommands()
      Specified by:
      hyperLogLogCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      hyperLogLogCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      hyperLogLogCommands in class RedissonReactiveRedisConnection
    • serverCommands

      public org.springframework.data.redis.connection.ReactiveClusterServerCommands serverCommands()
      Specified by:
      serverCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      serverCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      serverCommands in class RedissonReactiveRedisConnection
    • streamCommands

      public org.springframework.data.redis.connection.ReactiveClusterStreamCommands streamCommands()
      Specified by:
      streamCommands in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
      Specified by:
      streamCommands in interface org.springframework.data.redis.connection.ReactiveRedisConnection
      Overrides:
      streamCommands in class RedissonReactiveRedisConnection
    • ping

      public reactor.core.publisher.Mono<String> ping(org.springframework.data.redis.connection.RedisClusterNode node)
      Specified by:
      ping in interface org.springframework.data.redis.connection.ReactiveRedisClusterConnection
    • clusterGetNodes

      public reactor.core.publisher.Flux<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodes()
      Specified by:
      clusterGetNodes in interface org.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 interface org.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 interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterGetSlotForKey

      public reactor.core.publisher.Mono<Integer> clusterGetSlotForKey(ByteBuffer byteBuffer)
      Specified by:
      clusterGetSlotForKey in interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterGetNodeForSlot

      public reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodeForSlot(int slot)
      Specified by:
      clusterGetNodeForSlot in interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterGetNodeForKey

      public reactor.core.publisher.Mono<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodeForKey(ByteBuffer byteBuffer)
      Specified by:
      clusterGetNodeForKey in interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterGetClusterInfo

      public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ClusterInfo> clusterGetClusterInfo()
      Specified by:
      clusterGetClusterInfo in interface org.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 interface org.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 interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterCountKeysInSlot

      public reactor.core.publisher.Mono<Long> clusterCountKeysInSlot(int slot)
      Specified by:
      clusterCountKeysInSlot in interface org.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 interface org.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 interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterForget

      public reactor.core.publisher.Mono<Void> clusterForget(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode)
      Specified by:
      clusterForget in interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterMeet

      public reactor.core.publisher.Mono<Void> clusterMeet(org.springframework.data.redis.connection.RedisClusterNode redisClusterNode)
      Specified by:
      clusterMeet in interface org.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 interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • clusterGetKeysInSlot

      public reactor.core.publisher.Flux<ByteBuffer> clusterGetKeysInSlot(int slot, int count)
      Specified by:
      clusterGetKeysInSlot in interface org.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 interface org.springframework.data.redis.connection.ReactiveClusterCommands
    • toByteArray

      public static byte[] toByteArray(ByteBuffer buffer)