public static enum PeerRecoveryStatus.Stage extends Enum<PeerRecoveryStatus.Stage>
Enum Constant and Description |
---|
DONE |
FINALIZE |
INDEX |
INIT |
TRANSLOG |
Modifier and Type | Method and Description |
---|---|
static PeerRecoveryStatus.Stage |
fromValue(byte value) |
byte |
value() |
static PeerRecoveryStatus.Stage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeerRecoveryStatus.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerRecoveryStatus.Stage INIT
public static final PeerRecoveryStatus.Stage INDEX
public static final PeerRecoveryStatus.Stage TRANSLOG
public static final PeerRecoveryStatus.Stage FINALIZE
public static final PeerRecoveryStatus.Stage DONE
public static PeerRecoveryStatus.Stage[] values()
for (PeerRecoveryStatus.Stage c : PeerRecoveryStatus.Stage.values()) System.out.println(c);
public static PeerRecoveryStatus.Stage 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 byte value()
public static PeerRecoveryStatus.Stage fromValue(byte value)
Copyright © 2009–2015. All rights reserved.