org.enodeframework.domain.AggregateStorage.kt Maven / Gradle / Ivy
package org.enodeframework.domain
import java.util.concurrent.CompletableFuture
/**
* Represents an aggregate storage interface.
*/
interface AggregateStorage {
/**
* Get an aggregate from aggregate storage.
*/
fun getAsync(aggregateRootType: Class, aggregateRootId: String): CompletableFuture
}