Uses of Class
org.elasticsearch.cluster.routing.allocation.AllocationDecision
-
Packages that use AllocationDecision Package Description org.elasticsearch.cluster.routing.allocation -
-
Uses of AllocationDecision in org.elasticsearch.cluster.routing.allocation
Methods in org.elasticsearch.cluster.routing.allocation that return AllocationDecision Modifier and Type Method Description static AllocationDecisionAllocationDecision. fromAllocationStatus(UnassignedInfo.AllocationStatus allocationStatus)Gets anAllocationDecisionfrom aUnassignedInfo.AllocationStatus.static AllocationDecisionAllocationDecision. fromDecisionType(Decision.Type type)Gets anAllocationDecisionfrom aDecision.TypeAllocationDecisionAllocateUnassignedDecision. getAllocationDecision()Returns theAllocationDecisiondenoting the result of an allocation attempt.AllocationDecisionMoveDecision. getAllocationDecision()Returns theAllocationDecisionfor moving this shard to another node.AllocationDecisionNodeAllocationResult. getNodeDecision()Gets theAllocationDecisionfor allocating to this node.static AllocationDecisionAllocationDecision. readFrom(StreamInput in)static AllocationDecisionAllocationDecision. valueOf(String name)Returns the enum constant of this type with the specified name.static AllocationDecision[]AllocationDecision. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.elasticsearch.cluster.routing.allocation with parameters of type AllocationDecision 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.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.Constructors in org.elasticsearch.cluster.routing.allocation with parameters of type AllocationDecision Constructor Description NodeAllocationResult(DiscoveryNode node, AllocationDecision nodeDecision, Decision canAllocate, int weightRanking)
-