-
- All Implemented Interfaces:
-
org.enodeframework.eventing.PublishedVersionStore
public final class InMemoryPublishedVersionStore implements PublishedVersionStore
-
-
Constructor Summary
Constructors Constructor Description InMemoryPublishedVersionStore()
-
Method Summary
Modifier and Type Method Description CompletableFuture<Integer>updatePublishedVersionAsync(String processorName, String aggregateRootTypeName, String aggregateRootId, Integer publishedVersion)Update the published version for the given aggregate. CompletableFuture<Integer>getPublishedVersionAsync(String processorName, String aggregateRootTypeName, String aggregateRootId)Get the current published version for the given aggregate. -
-
Method Detail
-
updatePublishedVersionAsync
CompletableFuture<Integer> updatePublishedVersionAsync(String processorName, String aggregateRootTypeName, String aggregateRootId, Integer publishedVersion)
Update the published version for the given aggregate.
-
getPublishedVersionAsync
CompletableFuture<Integer> getPublishedVersionAsync(String processorName, String aggregateRootTypeName, String aggregateRootId)
Get the current published version for the given aggregate.
-
-
-
-