Enum UnassignedInfo.AllocationStatus

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UnassignedInfo.AllocationStatus>, java.lang.constant.Constable, Writeable
Enclosing class:

public static enum UnassignedInfo.AllocationStatus
extends java.lang.Enum<UnassignedInfo.AllocationStatus>
implements Writeable
Captures the status of an unsuccessful allocation attempt for the shard, causing it to remain in the unassigned state. Note, ordering of the enum is important, make sure to add new values at the end and handle version serialization properly.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    The shard was denied allocation to a node because the allocation deciders all returned a NO decision
    The allocation attempt was throttled on the shard by the allocation deciders
    Allocation decision has been delayed
    Waiting on getting shard data from all nodes before making a decision about where to allocate the shard
    No allocation attempt has been made yet
    The shard was denied allocation to a node because there were no valid shard copies found for it; this can happen on node restart with gateway allocation
  • Method Summary

    Modifier and Type Method Description
    static UnassignedInfo.AllocationStatus fromDecision​(Decision.Type decision)  
    static UnassignedInfo.AllocationStatus readFrom​(StreamInput in)  
    java.lang.String value()  
    static UnassignedInfo.AllocationStatus valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static UnassignedInfo.AllocationStatus[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.
    void writeTo​(StreamOutput out)
    Write this into the StreamOutput.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait