@InterfaceAudience.Private class AssignRegionAction extends BalanceAction
BalanceAction.Type
Modifier and Type | Field and Description |
---|---|
private int |
region |
private int |
server |
NULL_ACTION
Constructor and Description |
---|
AssignRegionAction(int region,
int server) |
Modifier and Type | Method and Description |
---|---|
int |
getRegion() |
int |
getServer() |
String |
toString() |
BalanceAction |
undoAction()
Returns an Action which would undo this action
|
getType
public AssignRegionAction(int region, int server)
public int getRegion()
public int getServer()
public BalanceAction undoAction()
BalanceAction
undoAction
in class BalanceAction
public String toString()
toString
in class BalanceAction
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.