Interface ReactorTransactionManager<TxCtx>

All Known Implementing Classes:
DefaultReactorTransactionManager

public interface ReactorTransactionManager<TxCtx>
  • Method Summary

    Modifier and Type
    Method
    Description
    static ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction>
    create(fr.maif.jooq.reactor.PgAsyncPool pgAsyncPool)
     
    default fr.maif.eventsourcing.TransactionManager<TxCtx>
     
    <T> reactor.core.publisher.Mono<T>
    withTransaction(Function<TxCtx,reactor.core.publisher.Mono<T>> callBack)
     
  • Method Details

    • create

      static ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction> create(fr.maif.jooq.reactor.PgAsyncPool pgAsyncPool)
    • withTransaction

      <T> reactor.core.publisher.Mono<T> withTransaction(Function<TxCtx,reactor.core.publisher.Mono<T>> callBack)
    • toTransactionManager

      default fr.maif.eventsourcing.TransactionManager<TxCtx> toTransactionManager()