protected class JedisSentinelPool.MasterListener extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected String |
host |
protected Jedis |
j |
protected String |
masterName |
protected int |
port |
protected AtomicBoolean |
running |
protected long |
subscribeRetryWaitTimeMillis |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier | Constructor and Description |
---|---|
protected |
JedisSentinelPool.MasterListener() |
|
JedisSentinelPool.MasterListener(String masterName,
String host,
int port) |
|
JedisSentinelPool.MasterListener(String masterName,
String host,
int port,
long subscribeRetryWaitTimeMillis) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
shutdown() |
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
protected String masterName
protected String host
protected int port
protected long subscribeRetryWaitTimeMillis
protected Jedis j
protected AtomicBoolean running
Copyright © 2015. All rights reserved.