org.enodeframework.domain.IAggregateSnapshotter 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;
/**
* An interface which can restore aggregate from snapshot storage.
*/
public interface IAggregateSnapshotter {
/**
* Restore the aggregate from snapshot storage.
*/
CompletableFuture restoreFromSnapshotAsync(Class aggregateRootType, String aggregateRootId);
}