public static enum CorruptReplicasMap.Reason extends Enum<CorruptReplicasMap.Reason>
| Enum Constant and Description | 
|---|
| ANY | 
| CORRUPTION_REPORTED | 
| GENSTAMP_MISMATCH | 
| INVALID_STATE | 
| NONE | 
| SIZE_MISMATCH | 
| Modifier and Type | Method and Description | 
|---|---|
| static CorruptReplicasMap.Reason | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CorruptReplicasMap.Reason[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CorruptReplicasMap.Reason NONE
public static final CorruptReplicasMap.Reason ANY
public static final CorruptReplicasMap.Reason GENSTAMP_MISMATCH
public static final CorruptReplicasMap.Reason SIZE_MISMATCH
public static final CorruptReplicasMap.Reason INVALID_STATE
public static final CorruptReplicasMap.Reason CORRUPTION_REPORTED
public static CorruptReplicasMap.Reason[] values()
for (CorruptReplicasMap.Reason c : CorruptReplicasMap.Reason.values()) System.out.println(c);
public static CorruptReplicasMap.Reason 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–2023 Apache Software Foundation. All rights reserved.