Uses of Class
org.elasticsearch.cluster.routing.allocation.AllocateUnassignedDecision
-
Packages that use AllocateUnassignedDecision Package Description org.elasticsearch.cluster.routing.allocation org.elasticsearch.gateway -
-
Uses of AllocateUnassignedDecision in org.elasticsearch.cluster.routing.allocation
Fields in org.elasticsearch.cluster.routing.allocation declared as AllocateUnassignedDecision Modifier and Type Field Description static AllocateUnassignedDecisionAllocateUnassignedDecision. NOT_TAKENa constant representing a shard decision where no decision was takenMethods in org.elasticsearch.cluster.routing.allocation that return AllocateUnassignedDecision Modifier and Type Method Description static AllocateUnassignedDecisionAllocateUnassignedDecision. delayed(long remainingDelay, long totalDelay, List<NodeAllocationResult> decisions)Returns a NO decision for a delayed shard allocation on a replica shard, with the individual node-level decisions that comprised the final NO decision, if in explain mode.static AllocateUnassignedDecisionAllocateUnassignedDecision. fromDecision(Decision decision, DiscoveryNode assignedNode, List<NodeAllocationResult> nodeDecisions)Creates aAllocateUnassignedDecisionfrom the givenDecisionand the assigned node, if any.AllocateUnassignedDecisionShardAllocationDecision. getAllocateDecision()Gets the unassigned allocation decision for the shard.static AllocateUnassignedDecisionAllocateUnassignedDecision. no(UnassignedInfo.AllocationStatus allocationStatus, List<NodeAllocationResult> decisions)Returns a NO decision with the givenUnassignedInfo.AllocationStatus, and the individual node-level decisions that comprised the final NO decision if in explain mode.static AllocateUnassignedDecisionAllocateUnassignedDecision. no(UnassignedInfo.AllocationStatus allocationStatus, List<NodeAllocationResult> decisions, boolean reuseStore)Returns a NO decision with the givenUnassignedInfo.AllocationStatus, and the individual node-level decisions that comprised the final NO decision if in explain mode.static AllocateUnassignedDecisionAllocateUnassignedDecision. throttle(List<NodeAllocationResult> decisions)Returns a THROTTLE decision, with the individual node-level decisions that comprised the final THROTTLE decision if in explain mode.static AllocateUnassignedDecisionAllocateUnassignedDecision. yes(DiscoveryNode assignedNode, String allocationId, List<NodeAllocationResult> decisions, boolean reuseStore)Creates a YES decision with the given individual node-level decisions that comprised the final YES decision, along with the node id to which the shard is assigned and the allocation id for the shard, if available.Constructors in org.elasticsearch.cluster.routing.allocation with parameters of type AllocateUnassignedDecision Constructor Description ShardAllocationDecision(AllocateUnassignedDecision allocateDecision, MoveDecision moveDecision) -
Uses of AllocateUnassignedDecision in org.elasticsearch.gateway
Methods in org.elasticsearch.gateway that return AllocateUnassignedDecision Modifier and Type Method Description AllocateUnassignedDecisionGatewayAllocator. decideUnassignedShardAllocation(ShardRouting unassignedShard, RoutingAllocation routingAllocation)Computes and returns the design for allocating a single unassigned shard.abstract AllocateUnassignedDecisionBaseGatewayShardAllocator. makeAllocationDecision(ShardRouting unassignedShard, RoutingAllocation allocation, org.apache.logging.log4j.Logger logger)Make a decision on the allocation of an unassigned shard.AllocateUnassignedDecisionPrimaryShardAllocator. makeAllocationDecision(ShardRouting unassignedShard, RoutingAllocation allocation, org.apache.logging.log4j.Logger logger)AllocateUnassignedDecisionReplicaShardAllocator. makeAllocationDecision(ShardRouting unassignedShard, RoutingAllocation allocation, org.apache.logging.log4j.Logger logger)
-