Class SimpleLoadBalancer.BalanceInfo
java.lang.Object
org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer.BalanceInfo
- Enclosing class:
- SimpleLoadBalancer
Stores additional per-server information about the regions added/removed during the run of the
balancing algorithm.
For servers that shed regions, we need to track which regions we have already shed.
nextRegionForUnload contains the index in the list of regions on the server that is the
next to be shed.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBalanceInfo
(int nextRegionForUnload, int numRegionsAdded, List<RegionInfo> hriList) -
Method Summary
Modifier and TypeMethodDescription(package private) List<RegionInfo>
(package private) int
(package private) int
(package private) void
setNextRegionForUnload
(int nextRegionForUnload) (package private) void
setNumRegionsAdded
(int numAdded)
-
Field Details
-
nextRegionForUnload
-
numRegionsAdded
-
hriList
-
-
Constructor Details
-
BalanceInfo
-
-
Method Details
-
getNextRegionForUnload
int getNextRegionForUnload() -
getNumRegionsAdded
int getNumRegionsAdded() -
setNumRegionsAdded
-
getHriList
-
setNextRegionForUnload
-