public enum IndexShardState extends Enum<IndexShardState>
Enum Constant and Description |
---|
CLOSED |
CREATED |
POST_RECOVERY |
RECOVERING |
RELOCATED |
STARTED |
Modifier and Type | Method and Description |
---|---|
static IndexShardState |
fromId(byte id) |
byte |
id() |
static IndexShardState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexShardState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexShardState CREATED
public static final IndexShardState RECOVERING
public static final IndexShardState POST_RECOVERY
public static final IndexShardState STARTED
public static final IndexShardState RELOCATED
public static final IndexShardState CLOSED
public static IndexShardState[] values()
for (IndexShardState c : IndexShardState.values()) System.out.println(c);
public static IndexShardState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte id()
public static IndexShardState fromId(byte id)
Copyright © 2009–2016. All rights reserved.