@Deprecated public enum ClientType extends Enum<ClientType>
| 限定符和类型 | 方法和说明 |
|---|---|
static ClientType |
get(byte ordinal)
已过时。
Get client type.
|
static ClientType |
get(int ordinal)
已过时。
Get client type.
|
static ClientType |
valueOf(String name)
已过时。
返回带有指定名称的该类型的枚举常量。
|
static ClientType[] |
values()
已过时。
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ClientType TM
public static final ClientType RM
public static ClientType[] values()
for (ClientType c : ClientType.values()) System.out.println(c);
public static ClientType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static ClientType get(byte ordinal)
ordinal - the ordinalpublic static ClientType get(int ordinal)
ordinal - the ordinalCopyright © 2020 Seata. All rights reserved.