public enum DLedgerResponseCode extends java.lang.Enum<DLedgerResponseCode>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
java.lang.String |
getDesc() |
java.lang.String |
toString() |
static DLedgerResponseCode |
valueOf(int code) |
static DLedgerResponseCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DLedgerResponseCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 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(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static DLedgerResponseCode valueOf(int code)
public int getCode()
public java.lang.String getDesc()
public java.lang.String toString()
toString 在类中 java.lang.Enum<DLedgerResponseCode>Copyright © 2020. All Rights Reserved.