|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ShardRoutingState>
org.elasticsearch.cluster.routing.ShardRoutingState
public enum ShardRoutingState
The state of the shard as defined by the cluster.
| Enum Constant Summary | |
|---|---|
INITIALIZING
The shard is initializing (probably recovering from either a peer shard or gateway). |
|
RELOCATING
The shard is in the process being relocated. |
|
STARTED
The shard is started. |
|
UNASSIGNED
The shard is not assigned to any node. |
|
| Method Summary | |
|---|---|
static ShardRoutingState |
fromValue(byte value)
|
byte |
value()
|
static ShardRoutingState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ShardRoutingState[] |
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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ShardRoutingState UNASSIGNED
public static final ShardRoutingState INITIALIZING
public static final ShardRoutingState STARTED
public static final ShardRoutingState RELOCATING
| Method Detail |
|---|
public static ShardRoutingState[] values()
for (ShardRoutingState c : ShardRoutingState.values()) System.out.println(c);
public static ShardRoutingState 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 name
java.lang.NullPointerException - if the argument is nullpublic byte value()
public static ShardRoutingState fromValue(byte value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||