Thread.State, Thread.UncaughtExceptionHandler| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
host
host
|
protected redis.clients.jedis.Jedis |
j
jedis
|
protected String |
masterName
masterName
|
protected int |
port
port
|
protected AtomicBoolean |
running
running
|
protected long |
subscribeRetryWaitTimeMillis
subscribeRetryWaitTimeMillis
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 限定符 | 构造器和说明 |
|---|---|
protected |
RedisSentinelConnPoolOld.RedisMasterListener()
Title: RedisMasterListener
Description: 默认构造方法
|
|
RedisSentinelConnPoolOld.RedisMasterListener(String masterName,
String host,
int port)
Title: RedisMasterListener
Description: 构造方法
|
|
RedisSentinelConnPoolOld.RedisMasterListener(String masterName,
String host,
int port,
long subscribeRetryWaitTimeMillis)
Title: RedisMasterListener
Description: 构造方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
run() |
void |
shutdown()
Title: shutdown
Description: 关闭监听器
|
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, yieldprotected String masterName
protected String host
protected int port
protected long subscribeRetryWaitTimeMillis
protected volatile redis.clients.jedis.Jedis j
protected AtomicBoolean running
protected RedisSentinelConnPoolOld.RedisMasterListener()
Title: RedisMasterListener
Description: 默认构造方法
public RedisSentinelConnPoolOld.RedisMasterListener(String masterName, String host, int port)
Title: RedisMasterListener
Description: 构造方法
masterName - 主机名称host - 地址port - 端口Copyright © 2015-2016 Dark Phoenixs. All Rights Reserved.