Interface SnapshotCountRetentionCriteria

  • All Superinterfaces:
    RetentionCriteria
    All Known Implementing Classes:
    SnapshotCountRetentionCriteriaImpl

    public interface SnapshotCountRetentionCriteria
    extends RetentionCriteria
    Delete events after saving snapshot via {@link RetentionCriteria.snapshotEvery()}. Events that have sequence number less than the snapshot sequence number minus keepNSnapshots * numberOfEvents are deleted.