Uses of Class
org.apache.hadoop.hbase.master.balancer.BalanceAction
Packages that use BalanceAction
-
Uses of BalanceAction in org.apache.hadoop.hbase.master.balancer
Subclasses of BalanceAction in org.apache.hadoop.hbase.master.balancerModifier and TypeClassDescription(package private) class
private static final class
class
(package private) class
class
Fields in org.apache.hadoop.hbase.master.balancer declared as BalanceActionModifier and TypeFieldDescription(package private) static final BalanceAction
BalanceAction.NULL_ACTION
Methods in org.apache.hadoop.hbase.master.balancer that return BalanceActionModifier and TypeMethodDescription(package private) BalanceAction
RegionPlanConditionalCandidateGenerator.batchMovesAndResetClusterState
(BalancerClusterState cluster, List<MoveRegionAction> moves) protected 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
RegionPlanConditionalCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
RegionReplicaCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
RegionReplicaRackCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
TableIsolationCandidateGenerator.generate
(BalancerClusterState cluster) (package private) BalanceAction
DistributeReplicasCandidateGenerator.generateCandidate
(BalancerClusterState cluster, boolean isWeighing) (package private) BalanceAction
DistributeReplicasCandidateGenerator.generateCandidate
(BalancerClusterState cluster, boolean isWeighing, boolean isForced) (package private) abstract BalanceAction
RegionPlanConditionalCandidateGenerator.generateCandidate
(BalancerClusterState cluster, boolean isWeighing) Generates a balancing action to appease the conditional.(package private) BalanceAction
SlopFixingCandidateGenerator.generateCandidate
(BalancerClusterState cluster, boolean isWeighing) (package private) BalanceAction
TableIsolationCandidateGenerator.generateCandidate
(BalancerClusterState cluster, boolean isWeighing) 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
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.NullBalanceAction.undoAction()
(package private) abstract BalanceAction
BalanceAction.undoAction()
Returns an Action which would undo this action(package private) BalanceAction
MoveBatchAction.undoAction()
MoveRegionAction.undoAction()
SwapRegionsAction.undoAction()
Methods in org.apache.hadoop.hbase.master.balancer that return types with arguments of type BalanceActionModifier and TypeMethodDescription(package private) Pair<CandidateGenerator,
BalanceAction> StochasticLoadBalancer.nextAction
(BalancerClusterState cluster) private Optional<BalanceAction>
LocalityBasedCandidateGenerator.tryMoveOrSwap
(BalancerClusterState cluster, int fromServer, int fromRegion, int toServer) Methods in org.apache.hadoop.hbase.master.balancer with parameters of type BalanceActionModifier and TypeMethodDescriptionvoid
BalancerClusterState.doAction
(BalanceAction action) (package private) int
BalancerConditionals.getViolationCountChange
(BalancerClusterState cluster, BalanceAction action) Indicates whether the action is good for our conditional compliance.(package private) boolean
BalancerConditionals.isViolating
(BalancerClusterState cluster, BalanceAction action) Check if the proposed action violates conditionals(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(package private) boolean
RegionPlanConditionalCandidateGenerator.willBeAccepted
(BalancerClusterState cluster, BalanceAction action)