Uses of Class
org.apache.hadoop.hbase.master.balancer.BalanceAction
-
Uses of BalanceAction in org.apache.hadoop.hbase.master.balancer
Modifier and TypeClassDescription(package private) class
(package private) class
class
Modifier and TypeFieldDescription(package private) static final BalanceAction
BalanceAction.NULL_ACTION
Modifier and TypeMethodDescriptionprotected BalanceAction
CacheAwareLoadBalancer.CacheAwareCandidateGenerator.generate
(BalancerClusterState cluster) (package private) abstract BalanceAction
CandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
FavoredStochasticBalancer.FavoredNodeLoadPicker.generate
(BalancerClusterState cluster) protected BalanceAction
FavoredStochasticBalancer.FavoredNodeLocalityPicker.generate
(BalancerClusterState cluster) (package private) BalanceAction
LoadCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
LocalityBasedCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
RandomCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
RegionReplicaCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
RegionReplicaRackCandidateGenerator.generate
(BalancerClusterState cluster) private BalanceAction
CacheAwareLoadBalancer.CacheAwareCandidateGenerator.generatePlan
(BalancerClusterState cluster, int regionIndex, int currentServerIndex, float cacheRatioOnCurrentServer, int oldServerIndex, float cacheRatioOnOldServer) protected BalanceAction
CandidateGenerator.getAction
(int fromServer, int fromRegion, int toServer, int toRegion) (package private) BalanceAction
StochasticLoadBalancer.nextAction
(BalancerClusterState cluster) (package private) BalanceAction
CacheAwareLoadBalancer.CacheAwareSkewnessCandidateGenerator.pickRandomRegions
(BalancerClusterState cluster, int thisServer, int otherServer) (package private) BalanceAction
CandidateGenerator.pickRandomRegions
(BalancerClusterState cluster, int thisServer, int otherServer) AssignRegionAction.undoAction()
(package private) BalanceAction
BalanceAction.undoAction()
Returns an Action which would undo this actionMoveRegionAction.undoAction()
SwapRegionsAction.undoAction()
Modifier and TypeMethodDescriptionprivate Optional<BalanceAction>
LocalityBasedCandidateGenerator.tryMoveOrSwap
(BalancerClusterState cluster, int fromServer, int fromRegion, int toServer) Modifier and TypeMethodDescriptionvoid
BalancerClusterState.doAction
(BalanceAction action) (package private) void
CostFunction.postAction
(BalanceAction action) Called once per cluster Action to give the cost function an opportunity to update it's state.(package private) void
StochasticLoadBalancer.updateCostsAndWeightsWithAction
(BalancerClusterState cluster, BalanceAction action) Update both the costs of costfunctions and the weights of candidate generators