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
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final RegionStatesprivate final TableDescriptorprivate final TableNameprivate final List<RegionInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble<T> TgetOrDefault(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
-