Interface ReactiveTransactionOperations.TransactionalCallback<C,T>
- Type Parameters:
C- The connection typeT- The emitted type
- Enclosing interface:
- ReactiveTransactionOperations<C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ReactiveTransactionOperations.TransactionalCallback<C,T>
A transactional callback interface.
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<T>doInTransaction(ReactiveTransactionStatus<C> status) Invokes the given code passing theReactiveTransactionStatus.
-
Method Details
-
doInTransaction
Invokes the given code passing theReactiveTransactionStatus.- Parameters:
status- The status- Returns:
- A publisher that emits the return type
-