public enum GcTransactionType extends Enum<GcTransactionType>
Enum Constant and Description |
---|
NONE
even if in a current tx, do not use transactions
|
READ_WRITE_NEW
even if in the middle of a transaction, create a new read/write autonomous nested transaction.
|
READ_WRITE_OR_USE_EXISTING
use the current transaction if one exists.
|
READONLY_NEW
even if in the middle of a transaction, create a new readonly autonomous nested transaction.
|
READONLY_OR_USE_EXISTING
use the current transaction if one exists, if not, create a new readonly tx.
|
Modifier and Type | Method and Description |
---|---|
static GcTransactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcTransactionType |
valueOfIgnoreCase(String string)
do a case-insensitive matching
|
static GcTransactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcTransactionType READONLY_OR_USE_EXISTING
public static final GcTransactionType NONE
public static final GcTransactionType READONLY_NEW
public static final GcTransactionType READ_WRITE_OR_USE_EXISTING
public static final GcTransactionType READ_WRITE_NEW
public static GcTransactionType[] values()
for (GcTransactionType c : GcTransactionType.values()) System.out.println(c);
public static GcTransactionType 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 GcTransactionType valueOfIgnoreCase(String string)
string
- Copyright © 2016 Internet2. All rights reserved.