Class JedisSentinelPool.MasterListener

    • Field Detail

      • masterName

        protected String masterName
      • port

        protected int port
      • subscribeRetryWaitTimeMillis

        protected long subscribeRetryWaitTimeMillis
      • j

        protected volatile Jedis j
    • Constructor Detail

      • MasterListener

        protected MasterListener()
      • MasterListener

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

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

      • run

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

        public void shutdown()