Interface EventStoreClient
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
InMemoryEventStoreClient,WebSocketEventStoreClient
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()default CompletableFuture<Void>deleteEvents(String aggregateId) deleteEvents(String aggregateId, Guarantee guarantee) getAggregateIds(GetAggregateIds request) getAggregatesFor(String entityId) default AggregateEventStream<SerializedMessage>getRelationships(GetRelationships request) default List<Relationship>getRelationships(String entityId) repairRelationships(RepairRelationships request) default CompletableFuture<Void>storeEvents(String aggregateId, List<SerializedMessage> events, boolean storeOnly) storeEvents(String aggregateId, List<SerializedMessage> events, boolean storeOnly, Guarantee guarantee) updateRelationships(UpdateRelationships request)
-
Method Details
-
storeEvents
default CompletableFuture<Void> storeEvents(String aggregateId, List<SerializedMessage> events, boolean storeOnly) -
storeEvents
CompletableFuture<Void> storeEvents(String aggregateId, List<SerializedMessage> events, boolean storeOnly, Guarantee guarantee) -
getEvents
-
getEvents
-
deleteEvents
-
deleteEvents
-
updateRelationships
-
repairRelationships
-
getAggregatesFor
-
getAggregateIds
-
getRelationships
-
getRelationships
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-