public static enum NumberReplicas.StoredReplicaState extends Enum<NumberReplicas.StoredReplicaState>
Enum Constant and Description |
---|
CORRUPT |
DECOMMISSIONED |
DECOMMISSIONING |
EXCESS |
LIVE |
MAINTENANCE_FOR_READ |
MAINTENANCE_NOT_FOR_READ |
READONLY |
REDUNDANT |
STALESTORAGE |
Modifier and Type | Method and Description |
---|---|
static NumberReplicas.StoredReplicaState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberReplicas.StoredReplicaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberReplicas.StoredReplicaState LIVE
public static final NumberReplicas.StoredReplicaState READONLY
public static final NumberReplicas.StoredReplicaState DECOMMISSIONING
public static final NumberReplicas.StoredReplicaState DECOMMISSIONED
public static final NumberReplicas.StoredReplicaState MAINTENANCE_NOT_FOR_READ
public static final NumberReplicas.StoredReplicaState MAINTENANCE_FOR_READ
public static final NumberReplicas.StoredReplicaState CORRUPT
public static final NumberReplicas.StoredReplicaState EXCESS
public static final NumberReplicas.StoredReplicaState STALESTORAGE
public static final NumberReplicas.StoredReplicaState REDUNDANT
public static NumberReplicas.StoredReplicaState[] values()
for (NumberReplicas.StoredReplicaState c : NumberReplicas.StoredReplicaState.values()) System.out.println(c);
public static NumberReplicas.StoredReplicaState 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 © 2008–2022 Apache Software Foundation. All rights reserved.