Class InMemoryEventStoreClient
java.lang.Object
io.fluxcapacitor.javaclient.tracking.client.InMemoryMessageStore
io.fluxcapacitor.javaclient.persisting.eventsourcing.client.InMemoryEventStoreClient
- All Implemented Interfaces:
Monitored<MessageDispatch>,EventStoreClient,GatewayClient,TrackingClient,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteEvents(String aggregateId, Guarantee guarantee) getAggregateIds(GetAggregateIds request) getRelationships(GetRelationships request) repairRelationships(RepairRelationships request) storeEvents(String aggregateId, List<SerializedMessage> events, boolean storeOnly, Guarantee guarantee) updateRelationships(UpdateRelationships request) Methods inherited from class io.fluxcapacitor.javaclient.tracking.client.InMemoryMessageStore
claimSegment, close, disconnectTracker, disconnectTrackersMatching, filterMessages, getMessage, getPosition, purgeExpiredMessages, read, read, readFromIndex, registerMonitor, resetPosition, send, shouldWait, storePositionMethods 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.client.EventStoreClient
close, deleteEvents, getAggregatesFor, getEvents, getRelationships, storeEventsMethods inherited from interface io.fluxcapacitor.javaclient.tracking.client.TrackingClient
disconnectTracker, getMessageType, readAndWait, resetPosition, storePosition
-
Constructor Details
-
InMemoryEventStoreClient
public InMemoryEventStoreClient() -
InMemoryEventStoreClient
-
-
Method Details
-
storeEvents
public CompletableFuture<Void> storeEvents(String aggregateId, List<SerializedMessage> events, boolean storeOnly, Guarantee guarantee) - Specified by:
storeEventsin interfaceEventStoreClient
-
updateRelationships
- Specified by:
updateRelationshipsin interfaceEventStoreClient
-
repairRelationships
- Specified by:
repairRelationshipsin interfaceEventStoreClient
-
getEvents
public AggregateEventStream<SerializedMessage> getEvents(String aggregateId, long lastSequenceNumber) - Specified by:
getEventsin interfaceEventStoreClient
-
deleteEvents
- Specified by:
deleteEventsin interfaceEventStoreClient
-
getAggregateIds
- Specified by:
getAggregateIdsin interfaceEventStoreClient
-
getRelationships
- Specified by:
getRelationshipsin interfaceEventStoreClient
-