Interface SnapshotCountRetentionCriteria

All Superinterfaces:
RetentionCriteria

public interface SnapshotCountRetentionCriteria extends RetentionCriteria
  • Method Details

    • withDeleteEventsOnSnapshot

      SnapshotCountRetentionCriteria withDeleteEventsOnSnapshot()
      Delete events after saving snapshot via RetentionCriteria.snapshotEvery. Events that have sequence number less than the snapshot sequence number minus keepNSnapshots * numberOfEvents are deleted.