public static class RegionStates.ServerStateNode extends Object implements Comparable<RegionStates.ServerStateNode>
Constructor and Description |
---|
ServerStateNode(ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
void |
addRegion(RegionStates.RegionStateNode regionNode) |
int |
compareTo(RegionStates.ServerStateNode other) |
boolean |
equals(Object other) |
int |
getRegionCount() |
ArrayList<RegionInfo> |
getRegionInfoList() |
Set<RegionStates.RegionStateNode> |
getRegions() |
ProcedureEvent<?> |
getReportEvent() |
ServerName |
getServerName() |
RegionStates.ServerState |
getState() |
int |
hashCode() |
boolean |
isInState(RegionStates.ServerState... expected) |
void |
removeRegion(RegionStates.RegionStateNode regionNode) |
String |
toString() |
public ServerStateNode(ServerName serverName)
public ServerName getServerName()
public RegionStates.ServerState getState()
public ProcedureEvent<?> getReportEvent()
public boolean isInState(RegionStates.ServerState... expected)
public Set<RegionStates.RegionStateNode> getRegions()
public int getRegionCount()
public ArrayList<RegionInfo> getRegionInfoList()
public void addRegion(RegionStates.RegionStateNode regionNode)
public void removeRegion(RegionStates.RegionStateNode regionNode)
public int compareTo(RegionStates.ServerStateNode other)
compareTo
in interface Comparable<RegionStates.ServerStateNode>
Copyright © 2007–2019 Cloudera. All rights reserved.