Uses of Interface
dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot.AggregateSnapshotDeletionStrategy
Packages that use AggregateSnapshotDeletionStrategy
-
Uses of AggregateSnapshotDeletionStrategy in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot that implement AggregateSnapshotDeletionStrategyModifier and TypeClassDescriptionstatic classStrategy that deletes any historic aggregate snapshots when a new snapshot is persistedstatic classStrategy that keeps all or a specific number of historic aggregate snapshotsMethods in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot that return AggregateSnapshotDeletionStrategyModifier and TypeMethodDescriptionAggregateSnapshotDeletionStrategy.deleteAllHistoricSnapshots()Strategy that deletes any historic aggregate snapshots when a new aggregate snapshot is persistedAggregateSnapshotDeletionStrategy.keepALimitedNumberOfHistoricSnapshots(long numberOfHistoricSnapshotsToKeep) Strategy that keeps a specific number historic aggregate snapshotsAggregateSnapshotDeletionStrategy.keepAllHistoricSnapshots()Strategy that keeps all historic aggregate snapshotsConstructors in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot with parameters of type AggregateSnapshotDeletionStrategyModifierConstructorDescriptionPostgresqlAggregateSnapshotRepository(ConfigurableEventStore<? extends AggregateEventStreamConfiguration> eventStore, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory<? extends dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork> unitOfWorkFactory, JSONEventSerializer jsonSerializer, AddNewAggregateSnapshotStrategy addNewSnapshotStrategy, AggregateSnapshotDeletionStrategy snapshotDeletionStrategy) Create a new durable Postgresql version of thePostgresqlAggregateSnapshotRepositorythat will persistAggregateSnapshot's into thePostgresqlAggregateSnapshotRepository.DEFAULT_AGGREGATE_SNAPSHOTS_TABLE_NAMEtablePostgresqlAggregateSnapshotRepository(ConfigurableEventStore<? extends AggregateEventStreamConfiguration> eventStore, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory<? extends dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork> unitOfWorkFactory, String snapshotTableName, JSONEventSerializer jsonSerializer, AddNewAggregateSnapshotStrategy addNewSnapshotStrategy, AggregateSnapshotDeletionStrategy snapshotDeletionStrategy) Create a new durable Postgresql version of thePostgresqlAggregateSnapshotRepositoryPostgresqlAggregateSnapshotRepository(ConfigurableEventStore<? extends AggregateEventStreamConfiguration> eventStore, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory<? extends dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork> unitOfWorkFactory, Optional<String> snapshotTableName, JSONEventSerializer jsonSerializer, AddNewAggregateSnapshotStrategy addNewSnapshotStrategy, AggregateSnapshotDeletionStrategy snapshotDeletionStrategy) Create a new durable Postgresql version of thePostgresqlAggregateSnapshotRepository