Enum ClusterRebalanceAllocationDecider.ClusterRebalanceType

java.lang.Object
java.lang.Enum<ClusterRebalanceAllocationDecider.ClusterRebalanceType>
org.elasticsearch.cluster.routing.allocation.decider.ClusterRebalanceAllocationDecider.ClusterRebalanceType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClusterRebalanceAllocationDecider.ClusterRebalanceType>, java.lang.constant.Constable
Enclosing class:
ClusterRebalanceAllocationDecider

public static enum ClusterRebalanceAllocationDecider.ClusterRebalanceType
extends java.lang.Enum<ClusterRebalanceAllocationDecider.ClusterRebalanceType>
An enum representation for the configured re-balance type.
  • Nested Class Summary

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

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    ALWAYS
    Re-balancing is allowed once a shard replication group is active
    INDICES_ALL_ACTIVE
    Re-balancing is allowed only once all shards on all indices are active.
    INDICES_PRIMARIES_ACTIVE
    Re-balancing is allowed only once all primary shards on all indices are active.
  • Method Summary

    Modifier and Type Method Description
    static ClusterRebalanceAllocationDecider.ClusterRebalanceType parseString​(java.lang.String typeString)  
    java.lang.String toString()  
    static ClusterRebalanceAllocationDecider.ClusterRebalanceType valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static ClusterRebalanceAllocationDecider.ClusterRebalanceType[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait