public enum TransactionMode extends Enum<TransactionMode>
RemoteCache
is enlisted in the Transaction
.
If NONE
is used, the RemoteCache
won't be transactional.Enum Constant and Description |
---|
FULL_XA
The cache is enlisted as
XAResource with recovery support. |
NON_DURABLE_XA
The cache is enlisted as
XAResource but it doesn't keep any recovery information. |
NON_XA
The cache is enlisted as
Synchronization . |
NONE
The cache is not transactional
|
Modifier and Type | Method and Description |
---|---|
static TransactionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionMode NONE
public static final TransactionMode NON_XA
Synchronization
.public static final TransactionMode NON_DURABLE_XA
XAResource
but it doesn't keep any recovery information.public static final TransactionMode FULL_XA
XAResource
with recovery support.
This mode isn't available yet.public static TransactionMode[] values()
for (TransactionMode c : TransactionMode.values()) System.out.println(c);
public static TransactionMode 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 nullCopyright © 2021 JBoss by Red Hat. All rights reserved.