All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.enodeframework.eventing.IPublishedVersionStore Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy