Class MoveRegionAction
java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalanceAction
org.apache.hadoop.hbase.master.balancer.MoveRegionAction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
BalanceAction.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final intFields inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
NULL_ACTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintint(package private) List<RegionPlan>toRegionPlans(BalancerClusterState cluster) Returns the Action represented as RegionPlanstoString()Returns an Action which would undo this actionMethods inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
getStepCount, getType
-
Field Details
-
region
-
fromServer
-
toServer
-
-
Constructor Details
-
MoveRegionAction
-
-
Method Details
-
getRegion
-
getFromServer
-
getToServer
-
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
-
toString
- Overrides:
toStringin classBalanceAction
-