private class SimpleRegionNormalizer.NormalizeContext extends Object
SimpleRegionNormalizer.computePlansForTable(TableName)
. Grabbing this data from the assignment manager
up-front allows any computed values to be realized just once.Modifier and Type | Field and Description |
---|---|
private double |
averageRegionSizeMb |
private RegionStates |
regionStates |
private TableName |
tableName |
private List<RegionInfo> |
tableRegions |
Constructor and Description |
---|
NormalizeContext(TableName tableName) |
Modifier and Type | Method and Description |
---|---|
double |
getAverageRegionSizeMb() |
RegionStates |
getRegionStates() |
TableName |
getTableName() |
List<RegionInfo> |
getTableRegions() |
private final RegionStates regionStates
private final List<RegionInfo> tableRegions
private final double averageRegionSizeMb
public NormalizeContext(TableName tableName)
public TableName getTableName()
public RegionStates getRegionStates()
public List<RegionInfo> getTableRegions()
public double getAverageRegionSizeMb()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.