Class RedissonSubscription

java.lang.Object
org.springframework.data.redis.connection.util.AbstractSubscription
org.redisson.spring.data.connection.RedissonSubscription
All Implemented Interfaces:
org.springframework.data.redis.connection.Subscription

public class RedissonSubscription extends org.springframework.data.redis.connection.util.AbstractSubscription
Author:
Nikita Koksharov
  • Constructor Summary

    Constructors
    Constructor
    Description
    RedissonSubscription(CommandAsyncExecutor commandExecutor, org.springframework.data.redis.connection.MessageListener listener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
    doPsubscribe(byte[]... patterns)
     
    protected void
    doPUnsubscribe(boolean all, byte[]... patterns)
     
    protected void
    doSubscribe(byte[]... channels)
     
    protected void
    doUnsubscribe(boolean all, byte[]... channels)
     

    Methods inherited from class org.springframework.data.redis.connection.util.AbstractSubscription

    close, getChannels, getListener, getPatterns, isAlive, pSubscribe, pUnsubscribe, pUnsubscribe, subscribe, unsubscribe, unsubscribe

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RedissonSubscription

      public RedissonSubscription(CommandAsyncExecutor commandExecutor, org.springframework.data.redis.connection.MessageListener listener)
  • Method Details

    • doSubscribe

      protected void doSubscribe(byte[]... channels)
      Specified by:
      doSubscribe in class org.springframework.data.redis.connection.util.AbstractSubscription
    • doUnsubscribe

      protected void doUnsubscribe(boolean all, byte[]... channels)
      Specified by:
      doUnsubscribe in class org.springframework.data.redis.connection.util.AbstractSubscription
    • doPsubscribe

      protected void doPsubscribe(byte[]... patterns)
      Specified by:
      doPsubscribe in class org.springframework.data.redis.connection.util.AbstractSubscription
    • doPUnsubscribe

      protected void doPUnsubscribe(boolean all, byte[]... patterns)
      Specified by:
      doPUnsubscribe in class org.springframework.data.redis.connection.util.AbstractSubscription
    • doClose

      protected void doClose()
      Specified by:
      doClose in class org.springframework.data.redis.connection.util.AbstractSubscription