@ExperimentalApi public static enum OnCommitEvent.OnCommitEventTransactionStatus extends Enum<OnCommitEvent.OnCommitEventTransactionStatus>
OnCommitEvent
whether this event was actually published after a transaction
commit, or if it was sent immediately, as not inside a transaction.Enum Constant and Description |
---|
NO_TRANSACTION
Indicates that there was no transaction in scope, and this event was fired immediately.
|
TRANSACTION
Indicates that the event may not have been fired immediately, as was involved inside a transaction.
|
UNKNOWN
Indicates that this event was fired in a way that the publisher was not able to determine the transaction status
|
Modifier and Type | Method and Description |
---|---|
static OnCommitEvent.OnCommitEventTransactionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnCommitEvent.OnCommitEventTransactionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnCommitEvent.OnCommitEventTransactionStatus TRANSACTION
public static final OnCommitEvent.OnCommitEventTransactionStatus NO_TRANSACTION
public static final OnCommitEvent.OnCommitEventTransactionStatus UNKNOWN
public static OnCommitEvent.OnCommitEventTransactionStatus[] values()
for (OnCommitEvent.OnCommitEventTransactionStatus c : OnCommitEvent.OnCommitEventTransactionStatus.values()) System.out.println(c);
public static OnCommitEvent.OnCommitEventTransactionStatus 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 © 2002-2024 Atlassian. All Rights Reserved.