protected class JedisSentinelPool.MasterListener
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
host |
protected Jedis |
j |
protected java.lang.String |
masterName |
protected int |
port |
protected java.util.concurrent.atomic.AtomicBoolean |
running |
protected long |
subscribeRetryWaitTimeMillis |
| Modifier | Constructor and Description |
|---|---|
protected |
MasterListener() |
|
MasterListener(java.lang.String masterName,
java.lang.String host,
int port) |
|
MasterListener(java.lang.String masterName,
java.lang.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 java.lang.String masterName
protected java.lang.String host
protected int port
protected long subscribeRetryWaitTimeMillis
protected volatile Jedis j
protected java.util.concurrent.atomic.AtomicBoolean running
Copyright © 2025. All rights reserved.