org.apache.hadoop.hbase.master
Class AssignmentManager.TimeoutMonitor
java.lang.Object
org.apache.hadoop.hbase.util.HasThread
org.apache.hadoop.hbase.Chore
org.apache.hadoop.hbase.master.AssignmentManager.TimeoutMonitor
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- AssignmentManager
public class AssignmentManager.TimeoutMonitor
- extends Chore
Monitor to check for time outs on region transition operations
Fields inherited from class org.apache.hadoop.hbase.Chore |
stopper |
Method Summary |
protected void |
chore()
Look for chores. |
Methods inherited from class org.apache.hadoop.hbase.util.HasThread |
getName, getThread, interrupt, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignmentManager.TimeoutMonitor
public AssignmentManager.TimeoutMonitor(int period,
Stoppable stopper,
ServerManager serverManager,
int timeout)
- Creates a periodic monitor to check for time outs on region transition
operations. This will deal with retries if for some reason something
doesn't happen within the specified timeout.
- Parameters:
period
- stopper
- When Stoppable.isStopped()
is true, this thread will
cleanup and exit cleanly.timeout
-
chore
protected void chore()
- Description copied from class:
Chore
- Look for chores. If any found, do them else just return.
- Specified by:
chore
in class Chore
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.