C
- The connection typepublic interface ReactiveTransactionOperations<C>
Modifier and Type | Interface and Description |
---|---|
static interface |
ReactiveTransactionOperations.TransactionalCallback<C,T>
A transactional callback interface.
|
Modifier and Type | Method and Description |
---|---|
default <T> org.reactivestreams.Publisher<T> |
withTransaction(ReactiveTransactionOperations.TransactionalCallback<C,T> handler)
Execute the given handler with a new transaction.
|
<T> org.reactivestreams.Publisher<T> |
withTransaction(TransactionDefinition definition,
ReactiveTransactionOperations.TransactionalCallback<C,T> handler)
Execute the given handler with a new transaction.
|
@NonNull <T> org.reactivestreams.Publisher<T> withTransaction(@NonNull TransactionDefinition definition, @NonNull ReactiveTransactionOperations.TransactionalCallback<C,T> handler)
T
- The emitted typedefinition
- The definitionhandler
- The handler@NonNull default <T> org.reactivestreams.Publisher<T> withTransaction(@NonNull ReactiveTransactionOperations.TransactionalCallback<C,T> handler)
T
- The emitted typehandler
- The handler