public enum TransactionModeEnum extends Enum<TransactionModeEnum> implements TransactionMode
Modifier and Type | Method and Description |
---|---|
ExecutorService |
getTransactionExecutor(ExecutorService executor,
boolean end) |
static TransactionModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionModeEnum PARALLEL
public static final TransactionModeEnum SERIAL
public static TransactionModeEnum[] values()
for (TransactionModeEnum c : TransactionModeEnum.values()) System.out.println(c);
public static TransactionModeEnum 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 ExecutorService getTransactionExecutor(ExecutorService executor, boolean end)
getTransactionExecutor
in interface TransactionMode
Copyright © 2004–2014 Paul Ferraro. All rights reserved.