Class SwapRegionsAction
java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalanceAction
org.apache.hadoop.hbase.master.balancer.SwapRegionsAction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
BalanceAction.Type
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final int
private final int
Fields inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
NULL_ACTION
-
Constructor Summary
ConstructorDescriptionSwapRegionsAction
(int fromServer, int fromRegion, int toServer, int toRegion) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
toString()
Returns an Action which would undo this actionMethods inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
getType
-
Field Details
-
fromServer
-
fromRegion
-
toServer
-
toRegion
-
-
Constructor Details
-
SwapRegionsAction
SwapRegionsAction(int fromServer, int fromRegion, int toServer, int toRegion)
-
-
Method Details
-
getFromServer
-
getFromRegion
-
getToServer
-
getToRegion
-
undoAction
Description copied from class:BalanceAction
Returns an Action which would undo this action- Overrides:
undoAction
in classBalanceAction
-
toString
- Overrides:
toString
in classBalanceAction
-