Class DefaultReactorTransactionManager

java.lang.Object
fr.maif.eventsourcing.DefaultReactorTransactionManager
All Implemented Interfaces:
ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction>

public class DefaultReactorTransactionManager extends Object implements ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction>
  • Constructor Details

    • DefaultReactorTransactionManager

      public DefaultReactorTransactionManager(fr.maif.jooq.reactor.PgAsyncPool pgAsyncPool)
  • Method Details

    • withTransaction

      public <T> reactor.core.publisher.Mono<T> withTransaction(Function<fr.maif.jooq.reactor.PgAsyncTransaction,reactor.core.publisher.Mono<T>> callBack)
      Specified by:
      withTransaction in interface ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction>
    • toTransactionManager

      public fr.maif.eventsourcing.TransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction> toTransactionManager()
      Specified by:
      toTransactionManager in interface ReactorTransactionManager<fr.maif.jooq.reactor.PgAsyncTransaction>