java.io.Serializable, java.lang.Comparable<CorruptReplicasMap.Reason>public static enum CorruptReplicasMap.Reason extends java.lang.Enum<CorruptReplicasMap.Reason>
| Enum Constant | Description |
|---|---|
ANY |
|
CORRUPTION_REPORTED |
|
GENSTAMP_MISMATCH |
|
INVALID_STATE |
|
NONE |
|
SIZE_MISMATCH |
| Modifier and Type | Method | Description |
|---|---|---|
static CorruptReplicasMap.Reason |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.