Interface SnapshotTrigger
-
- All Known Implementing Classes:
NoSnapshotTrigger,PeriodicSnapshotTrigger
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SnapshotTrigger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldCreateSnapshot(EventSourcedModel<?> model, List<DeserializingMessage> newEvents)
-
-
-
Method Detail
-
shouldCreateSnapshot
boolean shouldCreateSnapshot(EventSourcedModel<?> model, List<DeserializingMessage> newEvents)
-
-