Class TestZKLeaderManager.MockLeader
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager.MockLeader
- All Implemented Interfaces:
Runnable
,org.apache.hadoop.hbase.Stoppable
- Enclosing class:
- TestZKLeaderManager
private static class TestZKLeaderManager.MockLeader
extends Thread
implements org.apache.hadoop.hbase.Stoppable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private AtomicBoolean
private boolean
private org.apache.hadoop.hbase.zookeeper.ZKWatcher
private org.apache.hadoop.hbase.zookeeper.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, 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
-
watcher
-
zkLeader
-
master
-
index
-
-
Constructor Details
-
MockLeader
MockLeader(org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher, int index)
-
-
Method Details