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 |
MasterListener() |
|
MasterListener(String masterName,
String host,
int port) |
|
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, yieldprotected String masterName
protected String host
protected int port
protected long subscribeRetryWaitTimeMillis
protected volatile Jedis j
protected AtomicBoolean running
Copyright © 2020. All rights reserved.