Class DefaultEventStore
java.lang.Object
io.fluxcapacitor.javaclient.persisting.eventsourcing.DefaultEventStore
- All Implemented Interfaces:
EventStore,HasLocalHandlers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstoreEvents(Object aggregateId, List<?> events, EventPublicationStrategy strategy) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.persisting.eventsourcing.EventStore
getEvents, getEvents, storeEvents, storeEventsMethods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HasLocalHandlers
registerHandler, registerHandler
-
Constructor Details
-
DefaultEventStore
public DefaultEventStore()
-
-
Method Details
-
storeEvents
public CompletableFuture<Void> storeEvents(Object aggregateId, List<?> events, EventPublicationStrategy strategy) - Specified by:
storeEventsin interfaceEventStore
-
getEvents
public AggregateEventStream<DeserializingMessage> getEvents(Object aggregateId, long lastSequenceNumber, boolean ignoreUnknownType) - Specified by:
getEventsin interfaceEventStore
-