public static enum NettyPoolKey.TransactionRole extends Enum<NettyPoolKey.TransactionRole>
| Enum Constant and Description |
|---|
RMROLE
rm
|
SERVERROLE
server
|
TMROLE
tm
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Gets value.
|
static NettyPoolKey.TransactionRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NettyPoolKey.TransactionRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NettyPoolKey.TransactionRole TMROLE
public static final NettyPoolKey.TransactionRole RMROLE
public static final NettyPoolKey.TransactionRole SERVERROLE
public static NettyPoolKey.TransactionRole[] values()
for (NettyPoolKey.TransactionRole c : NettyPoolKey.TransactionRole.values()) System.out.println(c);
public static NettyPoolKey.TransactionRole 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 int getValue()
Copyright © 2023 Seata. All rights reserved.