Class SnapshotCountRetentionCriteria

    • Constructor Detail

      • SnapshotCountRetentionCriteria

        public SnapshotCountRetentionCriteria()
    • Method Detail

      • withDeleteEventsOnSnapshot

        public abstract 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.