Class AuthenticationTokenSecretManager.LeaderElector
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.security.token.AuthenticationTokenSecretManager.LeaderElector
- Enclosing class:
- AuthenticationTokenSecretManager
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.ThreadThread.State, Thread.UncaughtExceptionHandler
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate booleanFlag indicating whether we're in charge of rolling/expiring keysprivate booleanprivate ZKLeaderManagerFields inherited from class java.lang.ThreadMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.ThreadactiveCount, 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
- 
isMasterFlag indicating whether we're in charge of rolling/expiring keys
- 
zkLeader
 
- 
- 
Constructor Details- 
LeaderElector
 
- 
- 
Method Details- 
isMaster
- 
isStoppedDescription copied from interface:StoppableReturns True ifStoppable.stop(String)has been closed.
- 
stopDescription copied from interface:StoppableStop this service. Implementers should favor logging errors over throwing RuntimeExceptions.
- 
run
 
-