org.enodeframework.eventing.IPublishedVersionStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
package org.enodeframework.eventing;
import java.util.concurrent.CompletableFuture;
public interface IPublishedVersionStore {
/**
* Update the published version for the given aggregate.
*/
CompletableFuture updatePublishedVersionAsync(String processorName, String aggregateRootTypeName, String aggregateRootId, int publishedVersion);
/**
* Get the current published version for the given aggregate.
*/
CompletableFuture getPublishedVersionAsync(String processorName, String aggregateRootTypeName, String aggregateRootId);
}