redis.clients.jedis
Class JedisSentinelPool.MasterListener

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

protected class JedisSentinelPool.MasterListener
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  String host
           
protected  Jedis j
           
protected  String masterName
           
protected  int port
           
protected  AtomicBoolean running
           
protected  long subscribeRetryWaitTimeMillis
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected JedisSentinelPool.MasterListener()
           
  JedisSentinelPool.MasterListener(String masterName, String host, int port)
           
  JedisSentinelPool.MasterListener(String masterName, String host, int port, long subscribeRetryWaitTimeMillis)
           
 
Method Summary
 void run()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

masterName

protected String masterName

host

protected String host

port

protected int port

subscribeRetryWaitTimeMillis

protected long subscribeRetryWaitTimeMillis

j

protected Jedis j

running

protected AtomicBoolean running
Constructor Detail

JedisSentinelPool.MasterListener

protected JedisSentinelPool.MasterListener()

JedisSentinelPool.MasterListener

public JedisSentinelPool.MasterListener(String masterName,
                                        String host,
                                        int port)

JedisSentinelPool.MasterListener

public JedisSentinelPool.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()


Copyright © 2014. All rights reserved.