org.enodeframework.domain.IAggregateStorage 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.domain;
import java.util.concurrent.CompletableFuture;
/**
* Represents an aggregate storage interface.
*/
public interface IAggregateStorage {
/**
* Get an aggregate from aggregate storage.
*/
CompletableFuture getAsync(Class aggregateRootType, String aggregateRootId);
}