Class DefaultSnapshotStore
java.lang.Object
io.fluxcapacitor.javaclient.persisting.eventsourcing.DefaultSnapshotStore
- All Implemented Interfaces:
SnapshotStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSnapshot(String aggregateId) <T> Optional<AggregateRoot<T>>getSnapshot(String aggregateId) protected StringsnapshotKey(Object aggregateId) <T> voidstoreSnapshot(AggregateRoot<T> snapshot)
-
Constructor Details
-
DefaultSnapshotStore
public DefaultSnapshotStore()
-
-
Method Details
-
storeSnapshot
- Specified by:
storeSnapshotin interfaceSnapshotStore
-
getSnapshot
- Specified by:
getSnapshotin interfaceSnapshotStore
-
deleteSnapshot
- Specified by:
deleteSnapshotin interfaceSnapshotStore
-
snapshotKey
-