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
FieldsModifier and TypeFieldDescriptionprivate booleanFlag indicating whether we're in charge of rolling/expiring keysprivate booleanprivate ZKLeaderManagerFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, 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:StoppableReturns True ifStoppable.stop(String)has been closed. -
stop
Description copied from interface:StoppableStop this service. Implementers should favor logging errors over throwing RuntimeExceptions. -
run
-