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(Class<?> aggregateType, 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–2017. All rights reserved.