public static enum TransactionManager.InProgressType extends Enum<TransactionManager.InProgressType>
Enum Constant and Description |
---|
CHECKPOINT
Check-pointed transactions are recorded as in-progress.
|
LONG
Long running transactions do not detect conflicts during commit.
|
SHORT
Short transactions detect conflicts during commit.
|
Modifier and Type | Method and Description |
---|---|
TransactionType |
getTransactionType() |
static TransactionManager.InProgressType |
of(TransactionType type) |
static TransactionManager.InProgressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionManager.InProgressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionManager.InProgressType SHORT
public static final TransactionManager.InProgressType LONG
public static final TransactionManager.InProgressType CHECKPOINT
public static TransactionManager.InProgressType[] values()
for (TransactionManager.InProgressType c : TransactionManager.InProgressType.values()) System.out.println(c);
public static TransactionManager.InProgressType 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 static TransactionManager.InProgressType of(TransactionType type)
@Nullable public TransactionType getTransactionType()
Copyright © 2018 The Apache Software Foundation. All rights reserved.