Class InMemoryEventStoreClient
- java.lang.Object
-
- io.fluxcapacitor.javaclient.tracking.client.InMemoryMessageStore
-
- io.fluxcapacitor.javaclient.persisting.eventsourcing.client.InMemoryEventStoreClient
-
- All Implemented Interfaces:
Monitored<SerializedMessage>,EventStoreClient,GatewayClient,TrackingClient,AutoCloseable
public class InMemoryEventStoreClient extends InMemoryMessageStore implements EventStoreClient
-
-
Constructor Summary
Constructors Constructor Description InMemoryEventStoreClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Boolean>deleteEvents(String aggregateId)Stream<SerializedMessage>getEvents(String aggregateId, long lastSequenceNumber)AwaitablestoreEvents(String aggregateId, String domain, long lastSequenceNumber, List<SerializedMessage> events)-
Methods inherited from class io.fluxcapacitor.javaclient.tracking.client.InMemoryMessageStore
close, disconnectTracker, read, readAndWait, readFromIndex, registerMonitor, resetPosition, send, shouldWait, storePosition
-
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.client.EventStoreClient
close, getEvents
-
-
-
-
Method Detail
-
storeEvents
public Awaitable storeEvents(String aggregateId, String domain, long lastSequenceNumber, List<SerializedMessage> events)
- Specified by:
storeEventsin interfaceEventStoreClient
-
getEvents
public Stream<SerializedMessage> getEvents(String aggregateId, long lastSequenceNumber)
- Specified by:
getEventsin interfaceEventStoreClient
-
deleteEvents
public CompletableFuture<Boolean> deleteEvents(String aggregateId)
- Specified by:
deleteEventsin interfaceEventStoreClient
-
-