Class JedisSentinelPool.MasterListener

java.lang.Object
java.lang.Thread
redis.clients.jedis.JedisSentinelPool.MasterListener
All Implemented Interfaces:
Runnable
Enclosing class:
JedisSentinelPool

protected class JedisSentinelPool.MasterListener extends Thread
  • Field Details

    • masterName

      protected String masterName
    • host

      protected String host
    • port

      protected int port
    • subscribeRetryWaitTimeMillis

      protected long subscribeRetryWaitTimeMillis
    • j

      protected volatile Jedis j
    • running

      protected AtomicBoolean running
  • Constructor Details

    • MasterListener

      protected MasterListener()
    • MasterListener

      public MasterListener(String masterName, String host, int port)
    • MasterListener

      public MasterListener(String masterName, String host, int port, long subscribeRetryWaitTimeMillis)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • shutdown

      public void shutdown()