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 BalanceAction
private final BalanceAction.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) long
(package private) BalanceAction.Type
getType()
(package private) abstract List<RegionPlan>
toRegionPlans
(BalancerClusterState cluster) Returns the Action represented as RegionPlanstoString()
(package private) abstract BalanceAction
Returns 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
-