public enum SnapshotIndexShardStage extends Enum<SnapshotIndexShardStage>
| 列挙型定数と説明 |
|---|
DONE
Snapshot completed successfully
|
FAILURE
Snapshot failed
|
FINALIZE
Snapshot metadata is being written
|
INIT
Snapshot hasn't started yet
|
STARTED
Index files are being copied
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
completed()
Returns true if snapshot completed (successfully or not)
|
static SnapshotIndexShardStage |
fromValue(byte value)
Generate snapshot state from code
|
byte |
value()
Returns code that represents the snapshot state
|
static SnapshotIndexShardStage |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static SnapshotIndexShardStage[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final SnapshotIndexShardStage INIT
public static final SnapshotIndexShardStage STARTED
public static final SnapshotIndexShardStage FINALIZE
public static final SnapshotIndexShardStage DONE
public static final SnapshotIndexShardStage FAILURE
public static SnapshotIndexShardStage[] values()
for(SnapshotIndexShardStage c: SnapshotIndexShardStage.values()) System.out.println(c);
public static SnapshotIndexShardStage valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public byte value()
public boolean completed()
public static SnapshotIndexShardStage fromValue(byte value)
value - the state codeCopyright © 2009–2016. All rights reserved.