public static enum Parser.TransactionMode extends Enum<Parser.TransactionMode>
Enum Constant and Description |
---|
BATCH |
FULL_XA |
NON_DURABLE_XA |
NON_XA |
NONE |
Modifier and Type | Method and Description |
---|---|
static Parser.TransactionMode |
fromConfiguration(TransactionConfiguration transactionConfiguration,
boolean batchingEnabled) |
TransactionMode |
getMode() |
boolean |
isBatchingEnabled() |
boolean |
isRecoveryEnabled() |
boolean |
isXAEnabled() |
static Parser.TransactionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.TransactionMode NONE
public static final Parser.TransactionMode BATCH
public static final Parser.TransactionMode NON_XA
public static final Parser.TransactionMode NON_DURABLE_XA
public static final Parser.TransactionMode FULL_XA
public static Parser.TransactionMode[] values()
for (Parser.TransactionMode c : Parser.TransactionMode.values()) System.out.println(c);
public static Parser.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 nullpublic static Parser.TransactionMode fromConfiguration(TransactionConfiguration transactionConfiguration, boolean batchingEnabled)
public TransactionMode getMode()
public boolean isXAEnabled()
public boolean isRecoveryEnabled()
public boolean isBatchingEnabled()
Copyright © 2021 JBoss by Red Hat. All rights reserved.