public enum RecoveryReason extends Enum<RecoveryReason>
Enum Constant and Description |
---|
History |
InitialSnapshot |
Natural |
NoData |
PacketOrder |
Snapshot |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static RecoveryReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryReason PacketOrder
public static final RecoveryReason InitialSnapshot
public static final RecoveryReason NoData
public static final RecoveryReason Snapshot
public static final RecoveryReason Natural
public static final RecoveryReason History
public static RecoveryReason[] values()
for (RecoveryReason c : RecoveryReason.values()) System.out.println(c);
public static RecoveryReason 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 getValue()
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.