public static enum ReplTxnWork.OperationType extends Enum<ReplTxnWork.OperationType>
Enum Constant and Description |
---|
REPL_ABORT_TXN |
REPL_ALLOC_WRITE_ID |
REPL_COMMIT_TXN |
REPL_OPEN_TXN |
REPL_WRITEID_STATE |
Modifier and Type | Method and Description |
---|---|
static ReplTxnWork.OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplTxnWork.OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplTxnWork.OperationType REPL_OPEN_TXN
public static final ReplTxnWork.OperationType REPL_ABORT_TXN
public static final ReplTxnWork.OperationType REPL_COMMIT_TXN
public static final ReplTxnWork.OperationType REPL_ALLOC_WRITE_ID
public static final ReplTxnWork.OperationType REPL_WRITEID_STATE
public static ReplTxnWork.OperationType[] values()
for (ReplTxnWork.OperationType c : ReplTxnWork.OperationType.values()) System.out.println(c);
public static ReplTxnWork.OperationType 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 © 2022 The Apache Software Foundation. All rights reserved.