public enum TransactionMode extends Enum<TransactionMode>
RemoteInvocationQueue
.RemoteInvocationQueueSettings.getTransactionMode()
Enum Constant and Description |
---|
ALL_INVOCATIONS
Process all invocations to a remote invocation collected in the configured queue and recursively in all
sub-queues with the same
TransactionMode in a single transaction on the server. |
PER_INVOCATION
Process each invocation to a remote invocation in a separate transaction on the server.
|
PER_QUEUE
Process all invocations to a remote invocation collected in the configured queue in a single transaction
on the server.
|
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 ALL_INVOCATIONS
TransactionMode
in a single transaction on the server. However,
sub-queues with a different TransactionMode
will create their own transaction(s).public static final TransactionMode PER_INVOCATION
public static final TransactionMode PER_QUEUE
TransactionMode
.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 © 2001–2016 mmm-Team. All rights reserved.