public enum GlobalTransactionRole extends Enum<GlobalTransactionRole>
| 枚举常量和说明 |
|---|
Launcher
The Launcher.
|
Participant
The Participant.
|
public static final GlobalTransactionRole Launcher
public static final GlobalTransactionRole Participant
public static GlobalTransactionRole[] values()
for (GlobalTransactionRole c : GlobalTransactionRole.values()) System.out.println(c);
public static GlobalTransactionRole valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022 Seata. All rights reserved.