Module org.elasticsearch.server
Enum Class IndexReshardingState.Split.SourceShardState
java.lang.Object
java.lang.Enum<IndexReshardingState.Split.SourceShardState>
org.elasticsearch.cluster.metadata.IndexReshardingState.Split.SourceShardState
- All Implemented Interfaces:
Serializable,Comparable<IndexReshardingState.Split.SourceShardState>,Constable,Writeable
- Enclosing class:
IndexReshardingState.Split
public static enum IndexReshardingState.Split.SourceShardState
extends Enum<IndexReshardingState.Split.SourceShardState>
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
Writeable.Reader<V>, Writeable.Writer<V> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionreadFrom(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.voidwriteTo(StreamOutput out) Write this into the StreamOutput.
-
Enum Constant Details
-
SOURCE
The argument is for serialization because using the ordinal breaks if any values in the enum are reordered. It must not be changed once defined. -
DONE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
readFrom
public static IndexReshardingState.Split.SourceShardState readFrom(StreamInput in) throws IOException - Throws:
IOException
-