public interface Snapshotter
Modifier and Type | Method and Description |
---|---|
void |
scheduleSnapshot(Class<?> aggregateType,
String aggregateIdentifier)
Schedules snapshot taking for an aggregate with given
aggregateIdentifier . |
void scheduleSnapshot(@Nonnull Class<?> aggregateType, @Nonnull String aggregateIdentifier)
aggregateIdentifier
. The implementation may choose
to process this call synchronously (i.e. in the caller's thread), asynchronously, or ignore the call altogether.aggregateType
- the type of the aggregate to take the snapshot foraggregateIdentifier
- The identifier of the aggregate to take the snapshot forCopyright © 2010–2024. All rights reserved.