Class MoveBatchAction
java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalanceAction
org.apache.hadoop.hbase.master.balancer.MoveBatchAction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
BalanceAction.Type -
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
NULL_ACTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) List<MoveRegionAction>(package private) long(package private) List<RegionPlan>toRegionPlans(BalancerClusterState cluster) Returns the Action represented as RegionPlans(package private) BalanceActionReturns an Action which would undo this actionMethods inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
getType, toString
-
Field Details
-
moveActions
-
-
Constructor Details
-
MoveBatchAction
MoveBatchAction(List<MoveRegionAction> moveActions)
-
-
Method Details
-
undoAction
Description copied from class:BalanceActionReturns an Action which would undo this action- Specified by:
undoActionin classBalanceAction
-
toRegionPlans
Description copied from class:BalanceActionReturns the Action represented as RegionPlans- Specified by:
toRegionPlansin classBalanceAction
-
getStepCount
long getStepCount()- Overrides:
getStepCountin classBalanceAction
-
getServerToRegionsToRemove
public org.apache.hbase.thirdparty.com.google.common.collect.HashMultimap<Integer,Integer> getServerToRegionsToRemove() -
getServerToRegionsToAdd
public org.apache.hbase.thirdparty.com.google.common.collect.HashMultimap<Integer,Integer> getServerToRegionsToAdd() -
getMoveActions
-