public static enum CacheConfiguration.TransactionalMode extends java.lang.Enum<CacheConfiguration.TransactionalMode>
Enum Constant and Description |
---|
LOCAL
Local Transactions
|
OFF
No Transactions
|
XA
XA Transactions
|
XA_STRICT
XA Strict (true 2PC) Transactions
|
Modifier and Type | Field and Description |
---|---|
private boolean |
transactional |
Modifier and Type | Method and Description |
---|---|
boolean |
isTransactional() |
static CacheConfiguration.TransactionalMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheConfiguration.TransactionalMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheConfiguration.TransactionalMode OFF
public static final CacheConfiguration.TransactionalMode LOCAL
public static final CacheConfiguration.TransactionalMode XA
public static final CacheConfiguration.TransactionalMode XA_STRICT
public static CacheConfiguration.TransactionalMode[] values()
for (CacheConfiguration.TransactionalMode c : CacheConfiguration.TransactionalMode.values()) System.out.println(c);
public static CacheConfiguration.TransactionalMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isTransactional()