org.apache.hadoop.hbase.master
Class AssignCallable

java.lang.Object
  extended by org.apache.hadoop.hbase.master.AssignCallable
All Implemented Interfaces:
Callable<Object>

@InterfaceAudience.Private
public class AssignCallable
extends Object
implements Callable<Object>

A callable object that invokes the corresponding action that needs to be taken for assignment of a region in transition. Implementing as future callable we are able to act on the timeout asynchronously.


Constructor Summary
AssignCallable(AssignmentManager assignmentManager, HRegionInfo hri, boolean newPlan)
           
 
Method Summary
 Object call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignCallable

public AssignCallable(AssignmentManager assignmentManager,
                      HRegionInfo hri,
                      boolean newPlan)
Method Detail

call

public Object call()
            throws Exception
Specified by:
call in interface Callable<Object>
Throws:
Exception


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.