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

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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy