Class FavoredNodesManager

java.lang.Object
org.apache.hadoop.hbase.favored.FavoredNodesManager

@Private public class FavoredNodesManager extends Object
FavoredNodesManager is responsible for maintaining favored nodes info in internal cache and META table. Its the centralized store for all favored nodes information. All reads and updates should be done through this class. There should only be one instance of FavoredNodesManager in Master. FavoredNodesPlan and favored node information from SnapshotOfRegionAssignmentFromMeta should not be used outside this class (except for tools that only read or fortest cases). All other classes including Favored balancers and FavoredNodeAssignmentHelper should use FavoredNodesManager for any read/write/deletes to favored nodes.