public static enum IndicesShardStoresResponse.StoreStatus.Allocation extends Enum<IndicesShardStoresResponse.StoreStatus.Allocation>
Enum Constant and Description |
---|
PRIMARY
Allocated as primary
|
REPLICA
Allocated as a replica
|
UNUSED
Not allocated
|
Modifier and Type | Method and Description |
---|---|
String |
value() |
static IndicesShardStoresResponse.StoreStatus.Allocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndicesShardStoresResponse.StoreStatus.Allocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndicesShardStoresResponse.StoreStatus.Allocation PRIMARY
public static final IndicesShardStoresResponse.StoreStatus.Allocation REPLICA
public static final IndicesShardStoresResponse.StoreStatus.Allocation UNUSED
public static IndicesShardStoresResponse.StoreStatus.Allocation[] values()
for (IndicesShardStoresResponse.StoreStatus.Allocation c : IndicesShardStoresResponse.StoreStatus.Allocation.values()) System.out.println(c);
public static IndicesShardStoresResponse.StoreStatus.Allocation 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 nullpublic String value()
Copyright © 2009–2016. All rights reserved.