public static enum ZooKeeperPB.SplitLogTask.RecoveryMode extends Enum<ZooKeeperPB.SplitLogTask.RecoveryMode> implements com.google.protobuf.Internal.EnumLite
SplitLogTask.RecoveryMode| Enum Constant and Description |
|---|
LOG_REPLAY
LOG_REPLAY = 2; |
LOG_SPLITTING
LOG_SPLITTING = 1; |
UNKNOWN
UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOG_REPLAY_VALUE
LOG_REPLAY = 2; |
static int |
LOG_SPLITTING_VALUE
LOG_SPLITTING = 1; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<ZooKeeperPB.SplitLogTask.RecoveryMode> |
internalGetValueMap() |
static ZooKeeperPB.SplitLogTask.RecoveryMode |
valueOf(int value) |
static ZooKeeperPB.SplitLogTask.RecoveryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperPB.SplitLogTask.RecoveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZooKeeperPB.SplitLogTask.RecoveryMode UNKNOWN
UNKNOWN = 0;public static final ZooKeeperPB.SplitLogTask.RecoveryMode LOG_SPLITTING
LOG_SPLITTING = 1;public static final ZooKeeperPB.SplitLogTask.RecoveryMode LOG_REPLAY
LOG_REPLAY = 2;public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int LOG_SPLITTING_VALUE
LOG_SPLITTING = 1;public static final int LOG_REPLAY_VALUE
LOG_REPLAY = 2;public static ZooKeeperPB.SplitLogTask.RecoveryMode[] values()
for (ZooKeeperPB.SplitLogTask.RecoveryMode c : ZooKeeperPB.SplitLogTask.RecoveryMode.values()) System.out.println(c);
public static ZooKeeperPB.SplitLogTask.RecoveryMode 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitepublic static ZooKeeperPB.SplitLogTask.RecoveryMode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ZooKeeperPB.SplitLogTask.RecoveryMode> internalGetValueMap()
Copyright © 2010-2017, The Async HBase Authors