Class SimpleRegionNormalizer.NormalizeContext
java.lang.Object
org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.NormalizeContext
- Enclosing class:
- SimpleRegionNormalizer
Inner class caries the state necessary to perform a single invocation of
SimpleRegionNormalizer.computePlansForTable(TableDescriptor)
. Grabbing this data from the assignment manager
up-front allows any computed values to be realized just once.-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final RegionStates
private final TableDescriptor
private final TableName
private final List<RegionInfo>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
<T> T
getOrDefault
(String key, Function<String, T> function, T defaultValue)
-
Field Details
-
tableName
-
regionStates
-
tableRegions
-
averageRegionSizeMb
-
tableDescriptor
-
-
Constructor Details
-
NormalizeContext
-
-
Method Details
-
getTableName
-
getRegionStates
-
getTableRegions
-
getAverageRegionSizeMb
-
getOrDefault
-