public static enum CacheConfiguration.TransactionalMode extends 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 | Method and Description |
---|---|
boolean |
isTransactional() |
static CacheConfiguration.TransactionalMode |
valueOf(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(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 boolean isTransactional()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.