Uses of Class
org.elasticsearch.cluster.routing.allocation.decider.Decision
-
Packages that use Decision Package Description org.elasticsearch.cluster.routing.allocation org.elasticsearch.cluster.routing.allocation.decider -
-
Uses of Decision in org.elasticsearch.cluster.routing.allocation
Methods in org.elasticsearch.cluster.routing.allocation that return Decision Modifier and Type Method Description DecisionRoutingAllocation. decision(Decision decision, String deciderLabel, String reason, Object... params)Create a routing decision, including the reason if the debug flag is turned onDecisionRerouteExplanation. decisions()DecisionNodeAllocationResult. getCanAllocateDecision()The decision details for allocating to this node.DecisionMoveDecision. getCanRemainDecision()Returns the decision for the shard being allowed to remain on its current node.DecisionMoveDecision. getClusterRebalanceDecision()Returns the decision for being allowed to rebalance the shard.Methods in org.elasticsearch.cluster.routing.allocation with parameters of type Decision Modifier and Type Method Description static MoveDecisionMoveDecision. cannotRebalance(Decision canRebalanceDecision, AllocationDecision allocationDecision, int currentNodeRanking, List<NodeAllocationResult> nodeDecisions)Creates a move decision for when rebalancing the shard is not allowed.static MoveDecisionMoveDecision. cannotRemain(Decision canRemainDecision, AllocationDecision allocationDecision, DiscoveryNode assignedNode, List<NodeAllocationResult> nodeDecisions)Creates a move decision for the shard not being allowed to remain on its current node.DecisionRoutingAllocation. decision(Decision decision, String deciderLabel, String reason, Object... params)Create a routing decision, including the reason if the debug flag is turned onstatic AllocateUnassignedDecisionAllocateUnassignedDecision. fromDecision(Decision decision, DiscoveryNode assignedNode, List<NodeAllocationResult> nodeDecisions)Creates aAllocateUnassignedDecisionfrom the givenDecisionand the assigned node, if any.static MoveDecisionMoveDecision. rebalance(Decision canRebalanceDecision, AllocationDecision allocationDecision, DiscoveryNode assignedNode, int currentNodeRanking, List<NodeAllocationResult> nodeDecisions)Creates a decision for whether to move the shard to a different node to form a better cluster balance.static MoveDecisionMoveDecision. stay(Decision canRemainDecision)Creates a move decision for the shard being able to remain on its current node, so the shard won't be forced to move to another node.MoveDecisionMoveDecision. withRemainDecision(Decision canRemainDecision)Creates a new move decision from this decision, plus adding a remain decision.Constructors in org.elasticsearch.cluster.routing.allocation with parameters of type Decision Constructor Description NodeAllocationResult(DiscoveryNode node, AllocationDecision nodeDecision, Decision canAllocate, int weightRanking)NodeAllocationResult(DiscoveryNode node, Decision decision, int weightRanking)NodeAllocationResult(DiscoveryNode node, NodeAllocationResult.ShardStoreInfo shardStoreInfo, Decision decision)RerouteExplanation(AllocationCommand command, Decision decisions) -
Uses of Decision in org.elasticsearch.cluster.routing.allocation.decider
Subclasses of Decision in org.elasticsearch.cluster.routing.allocation.decider Modifier and Type Class Description static classDecision.MultiSimple class representing a list of decisionsstatic classDecision.SingleSimple class representing a single decisionFields in org.elasticsearch.cluster.routing.allocation.decider declared as Decision Modifier and Type Field Description static DecisionDecision. ALWAYSstatic DecisionDecision. NOstatic DecisionDecision. THROTTLEstatic DecisionDecision. YESMethods in org.elasticsearch.cluster.routing.allocation.decider that return Decision Modifier and Type Method Description DecisionAllocationDecider. canAllocate(IndexMetaData indexMetaData, RoutingNode node, RoutingAllocation allocation)Returns aDecisionwhether the given shard routing can be allocated at all at this state of theRoutingAllocation.DecisionAllocationDecider. canAllocate(RoutingNode node, RoutingAllocation allocation)Returns aDecisionwhether the given node can allow any allocation at all at this state of theRoutingAllocation.DecisionAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)Returns aDecisionwhether the given shard routing can be allocated at all at this state of theRoutingAllocation.DecisionAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)Returns aDecisionwhether the given shard routing can be allocated on the given node.DecisionAllocationDeciders. canAllocate(IndexMetaData indexMetaData, RoutingNode node, RoutingAllocation allocation)DecisionAllocationDeciders. canAllocate(RoutingNode node, RoutingAllocation allocation)DecisionAllocationDeciders. canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)DecisionAllocationDeciders. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionAwarenessAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionDiskThresholdDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionEnableAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)DecisionEnableAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionFilterAllocationDecider. canAllocate(IndexMetaData indexMetaData, RoutingNode node, RoutingAllocation allocation)DecisionFilterAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionMaxRetryAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)DecisionMaxRetryAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionNodeVersionAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionReplicaAfterPrimaryActiveAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)DecisionReplicaAfterPrimaryActiveAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionResizeAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)DecisionResizeAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionRestoreInProgressAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingAllocation allocation)DecisionRestoreInProgressAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionSameShardAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionShardsLimitAllocationDecider. canAllocate(RoutingNode node, RoutingAllocation allocation)DecisionShardsLimitAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionSnapshotInProgressAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)Returns aDecisionwhether the given shard routing can be allocated on the given node.DecisionThrottlingAllocationDecider. canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionAllocationDecider. canForceAllocatePrimary(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)Returns aDecisionwhether the given primary shard can be forcibly allocated on the given node.DecisionAllocationDeciders. canForceAllocatePrimary(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionMaxRetryAllocationDecider. canForceAllocatePrimary(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionResizeAllocationDecider. canForceAllocatePrimary(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionRestoreInProgressAllocationDecider. canForceAllocatePrimary(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionSameShardAllocationDecider. canForceAllocatePrimary(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionAllocationDecider. canRebalance(RoutingAllocation allocation)Returns aDecisionwhether the cluster can execute re-balanced operations at all.DecisionAllocationDecider. canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)Returns aDecisionwhether the given shard routing can be re-balanced to the given allocation.DecisionAllocationDeciders. canRebalance(RoutingAllocation allocation)DecisionAllocationDeciders. canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)DecisionClusterRebalanceAllocationDecider. canRebalance(RoutingAllocation allocation)DecisionClusterRebalanceAllocationDecider. canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)DecisionConcurrentRebalanceAllocationDecider. canRebalance(RoutingAllocation allocation)DecisionConcurrentRebalanceAllocationDecider. canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)DecisionEnableAllocationDecider. canRebalance(RoutingAllocation allocation)DecisionEnableAllocationDecider. canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)DecisionRebalanceOnlyWhenActiveAllocationDecider. canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)DecisionSnapshotInProgressAllocationDecider. canRebalance(ShardRouting shardRouting, RoutingAllocation allocation)Returns aDecisionwhether the given shard routing can be re-balanced to the given allocation.DecisionAllocationDecider. canRemain(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)Returns aDecisionwhether the given shard routing can be remain on the given node.DecisionAllocationDeciders. canRemain(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionAwarenessAllocationDecider. canRemain(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionDiskThresholdDecider. canRemain(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionFilterAllocationDecider. canRemain(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)DecisionShardsLimitAllocationDecider. canRemain(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)static DecisionDecision. readFrom(StreamInput in)static DecisionDecision. single(Decision.Type type, String label, String explanation, Object... explanationParams)Creates a simple decisionMethods in org.elasticsearch.cluster.routing.allocation.decider that return types with arguments of type Decision Modifier and Type Method Description abstract List<Decision>Decision. getDecisions()Return the list of all decisions that make up this decisionList<Decision>Decision.Multi. getDecisions()List<Decision>Decision.Single. getDecisions()Methods in org.elasticsearch.cluster.routing.allocation.decider with parameters of type Decision Modifier and Type Method Description Decision.MultiDecision.Multi. add(Decision decision)Add a decision to thisDecision.Multidecision instance
-