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) BalanceAction
Returns 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:BalanceAction
Returns an Action which would undo this action- Specified by:
undoAction
in classBalanceAction
-
toRegionPlans
Description copied from class:BalanceAction
Returns the Action represented as RegionPlans- Specified by:
toRegionPlans
in classBalanceAction
-
getStepCount
long getStepCount()- Overrides:
getStepCount
in 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
-