public static enum IndexShardSnapshotStatus.Stage extends Enum<IndexShardSnapshotStatus.Stage>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
static IndexShardSnapshotStatus.Stage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexShardSnapshotStatus.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexShardSnapshotStatus.Stage INIT
public static final IndexShardSnapshotStatus.Stage STARTED
public static final IndexShardSnapshotStatus.Stage FINALIZE
public static final IndexShardSnapshotStatus.Stage DONE
public static final IndexShardSnapshotStatus.Stage FAILURE
public static IndexShardSnapshotStatus.Stage[] values()
for (IndexShardSnapshotStatus.Stage c : IndexShardSnapshotStatus.Stage.values()) System.out.println(c);
public static IndexShardSnapshotStatus.Stage 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 nullCopyright © 2009–2017. All rights reserved.