io.fluxcapacitor.javaclient.eventsourcing.SnapshotRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Default Java client library for interfacing with Flux Capacitor.
package io.fluxcapacitor.javaclient.eventsourcing;
import java.util.Optional;
public interface SnapshotRepository {
void storeSnapshot(Aggregate> snapshot);
Optional> getSnapshot(String aggregateId);
void deleteSnapshot(String aggregateId);
}