Class DefaultReactorAggregateStore<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event,Meta,Context,TxCtx>

java.lang.Object
fr.maif.eventsourcing.DefaultReactorAggregateStore<S,E,Meta,Context,TxCtx>
All Implemented Interfaces:
ReactorAggregateStore<S,String,TxCtx>

public class DefaultReactorAggregateStore<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event,Meta,Context,TxCtx> extends Object implements ReactorAggregateStore<S,String,TxCtx>
  • Constructor Details

  • Method Details

    • getAggregate

      public reactor.core.publisher.Mono<io.vavr.control.Option<S>> getAggregate(String entityId)
      Specified by:
      getAggregate in interface ReactorAggregateStore<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event,Meta>
    • getAggregates

      public reactor.core.publisher.Mono<io.vavr.collection.Map<String,io.vavr.control.Option<S>>> getAggregates(TxCtx txCtx, io.vavr.collection.List<String> entityIds)
      Specified by:
      getAggregates in interface ReactorAggregateStore<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event,Meta>
    • getAggregate

      public reactor.core.publisher.Mono<io.vavr.control.Option<S>> getAggregate(TxCtx txCtx, String entityId)
      Specified by:
      getAggregate in interface ReactorAggregateStore<S extends fr.maif.eventsourcing.State<S>,E extends fr.maif.eventsourcing.Event,Meta>