Enum Class SnapshotDeletionsInProgress.State
- All Implemented Interfaces:
- Enclosing class:
public static enum SnapshotDeletionsInProgress.State extends Enum<SnapshotDeletionsInProgress.State> implements Writeable
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Enum Constant Summary
Method SummaryModifier and TypeMethodDescription
(StreamInput in)Returns the enum constant of this class with the specified name.
values()Returns an array containing the constants of this enum class, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
WAITINGpublic static final SnapshotDeletionsInProgress.State WAITINGDelete is waiting to execute because there are snapshots and or a delete operation that has to complete before this delete may run.
STARTEDpublic static final SnapshotDeletionsInProgress.State STARTEDDelete is physically executing on the repository.
valuespublic static SnapshotDeletionsInProgress.State values()Returns an array containing the constants of this enum class, in the order they are declared.
- an array containing the constants of this enum class, in the order they are declared
valueOfpublic static SnapshotDeletionsInProgress.State valueOf
(String name)Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
name- the name of the enum constant to be returned.
- the enum constant with the specified name
IllegalArgumentException- if this enum class has no constant with the specified name
NullPointerException- if the argument is null
readFrompublic static SnapshotDeletionsInProgress.State readFrom
(StreamInput in) throws IOException
writeTopublic void writeTo
(StreamOutput out) throws IOExceptionDescription copied from interface:
- Specified by: