org.apache.hadoop.hbase.master
Class AssignmentManager.TimeoutMonitor

java.lang.Object
  extended by org.apache.hadoop.hbase.util.HasThread
      extended by org.apache.hadoop.hbase.Chore
          extended by 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


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.Chore
stopper
 
Constructor Summary
AssignmentManager.TimeoutMonitor(int period, Stoppable stopper, ServerManager serverManager, int timeout)
          Creates a periodic monitor to check for time outs on region transition operations.
 
Method Summary
protected  void chore()
          Look for chores.
 
Methods inherited from class org.apache.hadoop.hbase.Chore
choreForTesting, cleanup, initialChore, run, sleep, triggerNow
 
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
 

Constructor Detail

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 -
Method Detail

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.