C
- The connection typeT
- The emitted type@FunctionalInterface
public static interface ReactiveTransactionOperations.TransactionalCallback<C,T>
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<T> |
doInTransaction(ReactiveTransactionStatus<C> status)
Invokes the given code passing the
ReactiveTransactionStatus . |
org.reactivestreams.Publisher<T> doInTransaction(ReactiveTransactionStatus<C> status) throws java.lang.Exception
ReactiveTransactionStatus
.status
- The statusjava.lang.Exception
- If an error occurs, though generally these should be emitted through the returned Publisher