Class DefaultEventStore
- java.lang.Object
-
- io.fluxcapacitor.javaclient.persisting.eventsourcing.DefaultEventStore
-
- All Implemented Interfaces:
EventStore,HasLocalHandlers
public class DefaultEventStore extends Object implements EventStore
-
-
Constructor Summary
Constructors Constructor Description DefaultEventStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<DeserializingMessage>getDomainEvents(String aggregateId, long lastSequenceNumber)AwaitablestoreDomainEvents(String aggregateId, String domain, long lastSequenceNumber, List<?> events)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fluxcapacitor.javaclient.persisting.eventsourcing.EventStore
getDomainEvents, storeDomainEvents
-
Methods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HasLocalHandlers
registerHandler, registerHandler
-
-
-
-
Method Detail
-
storeDomainEvents
public Awaitable storeDomainEvents(String aggregateId, String domain, long lastSequenceNumber, List<?> events)
- Specified by:
storeDomainEventsin interfaceEventStore
-
getDomainEvents
public Stream<DeserializingMessage> getDomainEvents(String aggregateId, long lastSequenceNumber)
- Specified by:
getDomainEventsin interfaceEventStore
-
-