org.enodeframework.eventing.IPublishedVersionStore.kt 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
interface IPublishedVersionStore {
/**
* 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
}