Class AuthenticationTokenSecretManager.LeaderElector
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager.LeaderElector
- Enclosing class:
- AuthenticationTokenSecretManager
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
Flag indicating whether we're in charge of rolling/expiring keysprivate boolean
private ZKLeaderManager
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
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
-
Field Details
-
stopped
-
isMaster
Flag indicating whether we're in charge of rolling/expiring keys -
zkLeader
-
-
Constructor Details
-
LeaderElector
-
-
Method Details
-
isMaster
-
isStopped
Description copied from interface:Stoppable
Returns True ifStoppable.stop(String)
has been closed. -
stop
Description copied from interface:Stoppable
Stop this service. Implementers should favor logging errors over throwing RuntimeExceptions. -
run
-