java.io.Serializable
, java.lang.Comparable<IndicesClusterStateService.AllocatedIndices.IndexRemovalReason>
public static enum IndicesClusterStateService.AllocatedIndices.IndexRemovalReason extends java.lang.Enum<IndicesClusterStateService.AllocatedIndices.IndexRemovalReason>
Enum Constant | Description |
---|---|
CLOSED |
The index have been closed.
|
DELETED |
The index is deleted.
|
FAILURE |
Something around index management has failed and the index should be removed.
|
NO_LONGER_ASSIGNED |
Shard of this index were previously assigned to this node but all shards have been relocated.
|
Modifier and Type | Method | Description |
---|---|---|
static IndicesClusterStateService.AllocatedIndices.IndexRemovalReason |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static IndicesClusterStateService.AllocatedIndices.IndexRemovalReason[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndicesClusterStateService.AllocatedIndices.IndexRemovalReason NO_LONGER_ASSIGNED
public static final IndicesClusterStateService.AllocatedIndices.IndexRemovalReason DELETED
public static final IndicesClusterStateService.AllocatedIndices.IndexRemovalReason CLOSED
public static final IndicesClusterStateService.AllocatedIndices.IndexRemovalReason FAILURE
public static IndicesClusterStateService.AllocatedIndices.IndexRemovalReason[] values()
for (IndicesClusterStateService.AllocatedIndices.IndexRemovalReason c : IndicesClusterStateService.AllocatedIndices.IndexRemovalReason.values()) System.out.println(c);
public static IndicesClusterStateService.AllocatedIndices.IndexRemovalReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null