|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.apache.hadoop.hbase.Chore
org.apache.hadoop.hbase.master.AssignmentManager.TimeoutMonitor
public class AssignmentManager.TimeoutMonitor
Monitor to check for time outs on region transition operations
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.hbase.Chore |
|---|
stopper |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AssignmentManager.TimeoutMonitor(int period,
Stoppable stopper,
int timeout)
Creates a periodic monitor to check for time outs on region transition operations. |
|
| Method Summary | |
|---|---|
boolean |
bulkAssign(boolean bulkAssign)
|
protected void |
chore()
Look for chores. |
| Methods inherited from class org.apache.hadoop.hbase.Chore |
|---|
initialChore, run, sleep, triggerNow |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssignmentManager.TimeoutMonitor(int period,
Stoppable stopper,
int timeout)
period - stopper - When Stoppable.isStopped() is true, this thread will
cleanup and exit cleanly.timeout - | Method Detail |
|---|
public boolean bulkAssign(boolean bulkAssign)
bulkAssign - If true, we'll suspend checking regions in transition
up in zookeeper. If false, will reenable check.
protected void chore()
Chore
chore in class Chore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||