Class DefaultEventStore
java.lang.Object
io.fluxcapacitor.javaclient.persisting.eventsourcing.DefaultEventStore
- All Implemented Interfaces:
EventStore,HasLocalHandlers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAggregatesFor(String entityId) storeEvents(String aggregateId, List<?> events, boolean storeOnly, boolean interceptBeforeStoring) updateRelationships(UpdateRelationships updateRelationships) 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, storeEvents, storeEvents, storeEvents, updateRelationshipsMethods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HasLocalHandlers
registerHandler, registerHandler
-
Constructor Details
-
DefaultEventStore
public DefaultEventStore()
-
-
Method Details
-
storeEvents
public Awaitable storeEvents(String aggregateId, List<?> events, boolean storeOnly, boolean interceptBeforeStoring) - Specified by:
storeEventsin interfaceEventStore
-
getEvents
public AggregateEventStream<DeserializingMessage> getEvents(String aggregateId, long lastSequenceNumber) - Specified by:
getEventsin interfaceEventStore
-
updateRelationships
- Specified by:
updateRelationshipsin interfaceEventStore
-
getAggregatesFor
- Specified by:
getAggregatesForin interfaceEventStore
-