Interface SnapshotRepository
-
- All Known Implementing Classes:
DefaultSnapshotRepository,NoOpSnapshotRepository
public interface SnapshotRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteSnapshot(String aggregateId)<T> Optional<EventSourcedModel<T>>getSnapshot(String aggregateId)voidstoreSnapshot(EventSourcedModel<?> snapshot)
-
-
-
Method Detail
-
storeSnapshot
void storeSnapshot(EventSourcedModel<?> snapshot)
-
getSnapshot
<T> Optional<EventSourcedModel<T>> getSnapshot(String aggregateId)
-
deleteSnapshot
void deleteSnapshot(String aggregateId)
-
-