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
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final intprivate final intFields inherited from class org.apache.hadoop.hbase.master.balancer.BalanceAction
NULL_ACTION -
Constructor Summary
ConstructorsConstructorDescriptionSwapRegionsAction(int fromServer, int fromRegion, int toServer, int toRegion) -
Method Summary
Modifier and TypeMethodDescriptionintintintinttoString()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:BalanceActionReturns an Action which would undo this action- Overrides:
undoActionin classBalanceAction
-
toString
- Overrides:
toStringin classBalanceAction
-