redis.clients.jedis
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
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 |
masterName
protected String masterName
host
protected String host
port
protected int port
subscribeRetryWaitTimeMillis
protected long subscribeRetryWaitTimeMillis
j
protected Jedis j
running
protected AtomicBoolean running
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)
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
shutdown
public void shutdown()
Copyright © 2014. All rights reserved.