org.enodeframework.eventing.PublishedVersionStore.kt Maven / Gradle / Ivy
package org.enodeframework.eventing
import java.util.concurrent.CompletableFuture
interface PublishedVersionStore {
/**
* Update the published version for the given aggregate.
*/
fun updatePublishedVersionAsync(
processorName: String,
aggregateRootTypeName: String,
aggregateRootId: String,
publishedVersion: Int
): CompletableFuture
/**
* Get the current published version for the given aggregate.
*/
fun getPublishedVersionAsync(
processorName: String,
aggregateRootTypeName: String,
aggregateRootId: String
): CompletableFuture
}