public enum ReplicationMultipleOperationType extends Enum<ReplicationMultipleOperationType>
Enum Constant and Description |
---|
TRANSACTION_ONE_PHASE |
TRANSACTION_TWO_PHASE_ABORT |
TRANSACTION_TWO_PHASE_COMMIT |
TRANSACTION_TWO_PHASE_PREPARE |
Modifier and Type | Method and Description |
---|---|
static ReplicationMultipleOperationType |
fromCode(byte code) |
byte |
toCode() |
static ReplicationMultipleOperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationMultipleOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationMultipleOperationType TRANSACTION_ONE_PHASE
public static final ReplicationMultipleOperationType TRANSACTION_TWO_PHASE_PREPARE
public static final ReplicationMultipleOperationType TRANSACTION_TWO_PHASE_COMMIT
public static final ReplicationMultipleOperationType TRANSACTION_TWO_PHASE_ABORT
public static ReplicationMultipleOperationType[] values()
for (ReplicationMultipleOperationType c : ReplicationMultipleOperationType.values()) System.out.println(c);
public static ReplicationMultipleOperationType 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 byte toCode()
public static ReplicationMultipleOperationType fromCode(byte code)
Copyright © GigaSpaces.