Package org.opensearch.cluster
Enum SnapshotDeletionsInProgress.State
java.lang.Object
java.lang.Enum<SnapshotDeletionsInProgress.State>
org.opensearch.cluster.SnapshotDeletionsInProgress.State
- All Implemented Interfaces:
Serializable
,Comparable<SnapshotDeletionsInProgress.State>
,org.opensearch.core.common.io.stream.Writeable
- Enclosing class:
SnapshotDeletionsInProgress
public static enum SnapshotDeletionsInProgress.State
extends Enum<SnapshotDeletionsInProgress.State>
implements org.opensearch.core.common.io.stream.Writeable
State of the deletions.
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionreadFrom
(org.opensearch.core.common.io.stream.StreamInput in) Returns the enum constant of this type with the specified name.static SnapshotDeletionsInProgress.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out)
-
Enum Constant Details
-
WAITING
Delete is waiting to execute because there are snapshots and or a delete operation that has to complete before this delete may run. -
STARTED
Delete is physically executing on the repository.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
readFrom
public static SnapshotDeletionsInProgress.State readFrom(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Throws:
IOException
-