public static enum AgroalConnectionPoolConfiguration.TransactionRequirement extends Enum<AgroalConnectionPoolConfiguration.TransactionRequirement>
Enum Constant and Description |
---|
OFF
Enlistment not required.
|
STRICT
Throw exception if not enlisted.
|
WARN
Warn if not enlisted.
|
Modifier and Type | Method and Description |
---|---|
static AgroalConnectionPoolConfiguration.TransactionRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgroalConnectionPoolConfiguration.TransactionRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgroalConnectionPoolConfiguration.TransactionRequirement OFF
public static final AgroalConnectionPoolConfiguration.TransactionRequirement WARN
public static final AgroalConnectionPoolConfiguration.TransactionRequirement STRICT
public static AgroalConnectionPoolConfiguration.TransactionRequirement[] values()
for (AgroalConnectionPoolConfiguration.TransactionRequirement c : AgroalConnectionPoolConfiguration.TransactionRequirement.values()) System.out.println(c);
public static AgroalConnectionPoolConfiguration.TransactionRequirement 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.