execute, ReactiveTransactionManager
| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private final TransactionDefinition | |
| private final ReactiveTransactionManager |
| Access | Constructor and Description |
|---|---|
| pack-priv | TransactionalOperatorImpl(ReactiveTransactionManager
the transaction management strategy to be used transactionManager, TransactionDefinition the transaction definition to copy the
default settings from. Local properties can still be set to change values. transactionDefinition)Construct a new TransactionTemplate using the given transaction manager, taking its default settings from the given transaction definition. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public <T> Flux | execute(TransactionCallback<T>
the callback object that specifies the transactional action action)Implements org. Execute the action specified by the given callback object within a transaction. |
| public ReactiveTransactionManager | |
| public int | |
| private Mono | rollbackOnException(ReactiveTransaction
object representing the transaction status, Throwable the thrown application exception or error ex)Perform a rollback, handling rollback exceptions properly. |
| private Throwable | unwrapIfResourceCleanupFailure(Throwable
the throwable to try to unwrap ex)Unwrap the cause of a throwable, if produced by a failure
during the async resource cleanup in |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| transactionDefinition | back to summary |
|---|---|
| private final TransactionDefinition transactionDefinition | |
| transactionManager | back to summary |
|---|---|
| private final ReactiveTransactionManager transactionManager | |
| TransactionalOperatorImpl | back to summary |
|---|---|
| pack-priv TransactionalOperatorImpl(ReactiveTransactionManager transactionManager, TransactionDefinition transactionDefinition) Construct a new TransactionTemplate using the given transaction manager, taking its default settings from the given transaction definition.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| execute | back to summary |
|---|---|
| public <T> Flux Implements org. Doc from org. Execute the action specified by the given callback object within a transaction. Allows for returning a result object created within the transaction, that is, a domain object or a collection of domain objects. A RuntimeException thrown by the callback is treated as a fatal exception that enforces a rollback. Such an exception gets propagated to the caller of the template.
| |
| getTransactionManager | back to summary |
|---|---|
| public ReactiveTransactionManager getTransactionManager() Return the transaction management strategy to be used. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| rollbackOnException | back to summary |
|---|---|
| private Mono Perform a rollback, handling rollback exceptions properly.
| |
| unwrapIfResourceCleanupFailure | back to summary |
|---|---|
| private Throwable unwrapIfResourceCleanupFailure(Throwable ex) Unwrap the cause of a throwable, if produced by a failure
during the async resource cleanup in
| |