Interface SnapshotCountRetentionCriteria
- All Superinterfaces:
RetentionCriteria
-
Method Summary
Modifier and TypeMethodDescriptionDelete events after saving snapshot viaRetentionCriteria.snapshotEvery.Methods inherited from interface org.apache.pekko.persistence.typed.scaladsl.RetentionCriteria
asJava
-
Method Details
-
withDeleteEventsOnSnapshot
SnapshotCountRetentionCriteria withDeleteEventsOnSnapshot()Delete events after saving snapshot viaRetentionCriteria.snapshotEvery. Events that have sequence number less than the snapshot sequence number minuskeepNSnapshots * numberOfEventsare deleted.
-