public enum NestedTxMode extends Enum<NestedTxMode>
| Enum Constant and Description |
|---|
COMMIT
Previously started transaction will be committed, new transaction will be started.
|
ERROR
Exception will be thrown, previously started transaction will be rolled back.
|
IGNORE
Warning will be printed to log, no new transaction will be started.
|
| Modifier and Type | Field and Description |
|---|---|
static NestedTxMode |
DEFAULT
Default handling mode.
|
| Modifier and Type | Method and Description |
|---|---|
static NestedTxMode |
fromByte(byte val)
Get enum value from int
|
static NestedTxMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NestedTxMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NestedTxMode COMMIT
public static final NestedTxMode IGNORE
public static final NestedTxMode ERROR
public static final NestedTxMode DEFAULT
public static NestedTxMode[] values()
for (NestedTxMode c : NestedTxMode.values()) System.out.println(c);
public static NestedTxMode 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 NestedTxMode fromByte(byte val)
val - Int value.IgniteException - if the is no enum value associated with the int value.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021