public static class AssignmentManager.RegionInTransitionStat extends Object
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) |
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)
Copyright © 2007–2019 Cloudera. All rights reserved.