Package | Description |
---|---|
org.springframework.transaction |
Spring's core transaction management APIs (independent of any specific transaction
management system); an exception hierarchy for Spring's transaction infrastructure;
and transaction manager, definition, and status interfaces.
|
org.springframework.transaction.reactive |
Support classes for reactive transaction management.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<ReactiveTransaction> |
ReactiveTransactionManager.getReactiveTransaction(TransactionDefinition definition)
Emit a currently active reactive transaction or create a new one, according to
the specified propagation behavior.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
ReactiveTransactionManager.commit(ReactiveTransaction transaction)
Commit the given transaction, with regard to its status.
|
reactor.core.publisher.Mono<Void> |
ReactiveTransactionManager.rollback(ReactiveTransaction transaction)
Perform a rollback of the given transaction.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericReactiveTransaction
Default implementation of the
ReactiveTransaction interface,
used by AbstractReactiveTransactionManager . |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<ReactiveTransaction> |
AbstractReactiveTransactionManager.getReactiveTransaction(TransactionDefinition definition)
This implementation handles propagation behavior.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
AbstractReactiveTransactionManager.commit(ReactiveTransaction transaction)
This implementation of commit handles participating in existing
transactions and programmatic rollback requests.
|
Publisher<T> |
TransactionCallback.doInTransaction(ReactiveTransaction status)
Gets called by
TransactionalOperator within a transactional context. |
reactor.core.publisher.Mono<Void> |
AbstractReactiveTransactionManager.rollback(ReactiveTransaction transaction)
This implementation of rollback handles participating in existing transactions.
|