public enum DLedgerResponseCode extends Enum<DLedgerResponseCode>
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getDesc() |
String |
toString() |
static DLedgerResponseCode |
valueOf(int code) |
static DLedgerResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DLedgerResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DLedgerResponseCode UNKNOWN
public static final DLedgerResponseCode SUCCESS
public static final DLedgerResponseCode TIMEOUT
public static final DLedgerResponseCode METADATA_ERROR
public static final DLedgerResponseCode NETWORK_ERROR
public static final DLedgerResponseCode UNSUPPORTED
public static final DLedgerResponseCode UNKNOWN_GROUP
public static final DLedgerResponseCode UNKNOWN_MEMBER
public static final DLedgerResponseCode UNEXPECTED_MEMBER
public static final DLedgerResponseCode EXPIRED_TERM
public static final DLedgerResponseCode NOT_LEADER
public static final DLedgerResponseCode NOT_FOLLOWER
public static final DLedgerResponseCode INCONSISTENT_STATE
public static final DLedgerResponseCode INCONSISTENT_TERM
public static final DLedgerResponseCode INCONSISTENT_INDEX
public static final DLedgerResponseCode INCONSISTENT_LEADER
public static final DLedgerResponseCode INDEX_OUT_OF_RANGE
public static final DLedgerResponseCode UNEXPECTED_ARGUMENT
public static final DLedgerResponseCode REPEATED_REQUEST
public static final DLedgerResponseCode REPEATED_PUSH
public static final DLedgerResponseCode DISK_ERROR
public static final DLedgerResponseCode DISK_FULL
public static final DLedgerResponseCode TERM_NOT_READY
public static final DLedgerResponseCode FALL_BEHIND_TOO_MUCH
public static final DLedgerResponseCode TAKE_LEADERSHIP_FAILED
public static final DLedgerResponseCode INDEX_LESS_THAN_LOCAL_BEGIN
public static final DLedgerResponseCode REQUEST_WITH_EMPTY_BODYS
public static final DLedgerResponseCode PUSH_REQUEST_IS_FULL
public static final DLedgerResponseCode INTERNAL_ERROR
public static final DLedgerResponseCode TERM_CHANGED
public static final DLedgerResponseCode WAIT_QUORUM_ACK_TIMEOUT
public static final DLedgerResponseCode LEADER_PENDING_FULL
public static final DLedgerResponseCode ILLEGAL_MEMBER_STATE
public static final DLedgerResponseCode LEADER_NOT_READY
public static final DLedgerResponseCode LEADER_TRANSFERRING
public static DLedgerResponseCode[] values()
for (DLedgerResponseCode c : DLedgerResponseCode.values()) System.out.println(c);
public static DLedgerResponseCode 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 static DLedgerResponseCode valueOf(int code)
public int getCode()
public String getDesc()
public String toString()
toString in class Enum<DLedgerResponseCode>Copyright © 2023. All rights reserved.