public static class AssignmentManager.RegionInTransitionStat extends Object
Modifier and Type | Field and Description |
---|---|
private long |
oldestRITTime |
private HashMap<String,RegionState> |
ritsOverThreshold |
private int |
ritThreshold |
private long |
statTimestamp |
private int |
totalRITs |
private int |
totalRITsTwiceThreshold |
Constructor and Description |
---|
RegionInTransitionStat(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
long |
getOldestRITTime() |
Collection<RegionState> |
getRegionOverThreshold() |
int |
getRITThreshold() |
long |
getTimestamp() |
int |
getTotalRITs() |
int |
getTotalRITsOverThreshold() |
boolean |
hasRegionsOverThreshold() |
boolean |
hasRegionsTwiceOverThreshold() |
boolean |
isRegionOverThreshold(RegionInfo regionInfo) |
boolean |
isRegionTwiceOverThreshold(RegionInfo regionInfo) |
protected void |
update(AssignmentManager am) |
private void |
update(Collection<RegionState> regions,
long currentTime) |
private final int ritThreshold
private HashMap<String,RegionState> ritsOverThreshold
private long statTimestamp
private long oldestRITTime
private int totalRITsTwiceThreshold
private int totalRITs
public RegionInTransitionStat(org.apache.hadoop.conf.Configuration conf)
public int getRITThreshold()
public long getTimestamp()
public int getTotalRITs()
public long getOldestRITTime()
public int getTotalRITsOverThreshold()
public boolean hasRegionsTwiceOverThreshold()
public boolean hasRegionsOverThreshold()
public Collection<RegionState> getRegionOverThreshold()
public boolean isRegionOverThreshold(RegionInfo regionInfo)
public boolean isRegionTwiceOverThreshold(RegionInfo regionInfo)
protected void update(AssignmentManager am)
private void update(Collection<RegionState> regions, long currentTime)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.