Uses of Class
org.elasticsearch.cluster.routing.UnassignedInfo.AllocationStatus
-
Packages that use UnassignedInfo.AllocationStatus Package Description org.elasticsearch.cluster.routing org.elasticsearch.cluster.routing.allocation -
-
Uses of UnassignedInfo.AllocationStatus in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing that return UnassignedInfo.AllocationStatus Modifier and Type Method Description static UnassignedInfo.AllocationStatusUnassignedInfo.AllocationStatus. fromDecision(Decision.Type decision)UnassignedInfo.AllocationStatusUnassignedInfo. getLastAllocationStatus()Get the status for the last allocation attempt for this shard.static UnassignedInfo.AllocationStatusUnassignedInfo.AllocationStatus. readFrom(StreamInput in)static UnassignedInfo.AllocationStatusUnassignedInfo.AllocationStatus. valueOf(String name)Returns the enum constant of this type with the specified name.static UnassignedInfo.AllocationStatus[]UnassignedInfo.AllocationStatus. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.elasticsearch.cluster.routing with parameters of type UnassignedInfo.AllocationStatus Modifier and Type Method Description voidRoutingNodes.UnassignedShards. ignoreShard(ShardRouting shard, UnassignedInfo.AllocationStatus allocationStatus, RoutingChangesObserver changes)Marks a shard as temporarily ignored and adds it to the ignore unassigned list.voidRoutingNodes.UnassignedShards.UnassignedIterator. removeAndIgnore(UnassignedInfo.AllocationStatus attempt, RoutingChangesObserver changes)Removes and ignores the unassigned shard (will be ignored for this run, but will be added back to unassigned once the metadata is constructed again).Constructors in org.elasticsearch.cluster.routing with parameters of type UnassignedInfo.AllocationStatus Constructor Description UnassignedInfo(UnassignedInfo.Reason reason, String message, Exception failure, int failedAllocations, long unassignedTimeNanos, long unassignedTimeMillis, boolean delayed, UnassignedInfo.AllocationStatus lastAllocationStatus, Set<String> failedNodeIds) -
Uses of UnassignedInfo.AllocationStatus in org.elasticsearch.cluster.routing.allocation
Methods in org.elasticsearch.cluster.routing.allocation that return UnassignedInfo.AllocationStatus Modifier and Type Method Description UnassignedInfo.AllocationStatusAllocateUnassignedDecision. getAllocationStatus()Returns the status of an unsuccessful allocation attempt.Methods in org.elasticsearch.cluster.routing.allocation with parameters of type UnassignedInfo.AllocationStatus Modifier and Type Method Description static AllocationDecisionAllocationDecision. fromAllocationStatus(UnassignedInfo.AllocationStatus allocationStatus)Gets anAllocationDecisionfrom aUnassignedInfo.AllocationStatus.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.
-