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

org.enodeframework.domain.AggregateSnapshotter.kt Maven / Gradle / Ivy

package org.enodeframework.domain

import java.util.concurrent.CompletableFuture

/**
 * An interface which can restore aggregate from snapshot storage.
 */
interface AggregateSnapshotter {
    /**
     * Restore the aggregate from snapshot storage.
     */
    fun  restoreFromSnapshotAsync(
        aggregateRootType: Class,
        aggregateRootId: String
    ): CompletableFuture
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy