public enum ContractExecType extends java.lang.Enum<ContractExecType> implements java.io.Serializable
| 枚举常量和说明 |
|---|
PBFT |
RAFT |
RequestAllResponseAll |
RequestAllResponseFirst |
RequestAllResponseHalf |
RequestOnce |
ResponseOnce |
SelfAdaptiveSharding |
Sharding |
Sole |
| 限定符和类型 | 方法和说明 |
|---|---|
static ContractExecType |
getContractTypeByInt(int i) |
boolean |
isUnit() |
boolean |
needSeq() |
static ContractExecType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ContractExecType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ContractExecType Sole
public static final ContractExecType RequestOnce
public static final ContractExecType ResponseOnce
public static final ContractExecType RequestAllResponseFirst
public static final ContractExecType RequestAllResponseHalf
public static final ContractExecType RequestAllResponseAll
public static final ContractExecType Sharding
public static final ContractExecType SelfAdaptiveSharding
public static final ContractExecType PBFT
public static final ContractExecType RAFT
public static ContractExecType[] values()
for (ContractExecType c : ContractExecType.values()) System.out.println(c);
public static ContractExecType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static ContractExecType getContractTypeByInt(int i)
public boolean isUnit()
public boolean needSeq()