public static enum TransactionCoordinatorClient.State extends Enum<TransactionCoordinatorClient.State>
| Enum Constant and Description |
|---|
CLOSED |
CLOSING |
NONE |
READY |
STARTING |
| Modifier and Type | Method and Description |
|---|---|
static TransactionCoordinatorClient.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionCoordinatorClient.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionCoordinatorClient.State NONE
public static final TransactionCoordinatorClient.State STARTING
public static final TransactionCoordinatorClient.State READY
public static final TransactionCoordinatorClient.State CLOSING
public static final TransactionCoordinatorClient.State CLOSED
public static TransactionCoordinatorClient.State[] values()
for (TransactionCoordinatorClient.State c : TransactionCoordinatorClient.State.values()) System.out.println(c);
public static TransactionCoordinatorClient.State 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 nullCopyright © 2017–2021 Apache Software Foundation. All rights reserved.