public enum ShardRoutingState extends Enum<ShardRoutingState>
ShardRouting as defined by the
cluster.| 列挙型定数と説明 |
|---|
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.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static ShardRoutingState |
fromValue(byte value) |
byte |
value()
Byte value of this
ShardRoutingState |
static ShardRoutingState |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ShardRoutingState[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final ShardRoutingState UNASSIGNED
public static final ShardRoutingState INITIALIZING
public static final ShardRoutingState STARTED
public static final ShardRoutingState RELOCATING
public static ShardRoutingState[] values()
for(ShardRoutingState c: ShardRoutingState.values()) System.out.println(c);
public static ShardRoutingState valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public byte value()
ShardRoutingStateShardRoutingStatepublic static ShardRoutingState fromValue(byte value)
Copyright © 2009–2016. All rights reserved.