Class BalanceAction
java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalanceAction
- Direct Known Subclasses:
AssignRegionAction,BalanceAction.NullBalanceAction,MoveBatchAction,MoveRegionAction,SwapRegionsAction
An action to move or swap a region
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class(package private) static enum -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final BalanceActionprivate final BalanceAction.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) long(package private) BalanceAction.TypegetType()(package private) abstract List<RegionPlan>toRegionPlans(BalancerClusterState cluster) Returns the Action represented as RegionPlanstoString()(package private) abstract BalanceActionReturns an Action which would undo this action
-
Field Details
-
NULL_ACTION
-
type
-
-
Constructor Details
-
BalanceAction
-
-
Method Details
-
undoAction
Returns an Action which would undo this action -
toRegionPlans
Returns the Action represented as RegionPlans -
getType
-
getStepCount
long getStepCount() -
toString
-