Uses of Interface
dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot.AggregateSnapshotDeletionStrategy
-
Packages that use AggregateSnapshotDeletionStrategy Package Description dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot -
-
Uses of AggregateSnapshotDeletionStrategy in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot that implement AggregateSnapshotDeletionStrategy Modifier and Type Class Description static classAggregateSnapshotDeletionStrategy.DeleteAllHistoricSnapshotsStrategy that deletes any historic aggregate snapshots when a new snapshot is persistedstatic classAggregateSnapshotDeletionStrategy.KeepHistoricSnapshotsStrategy that keeps all or a specific number of historic aggregate snapshotsMethods in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot that return AggregateSnapshotDeletionStrategy Modifier and Type Method Description static AggregateSnapshotDeletionStrategyAggregateSnapshotDeletionStrategy. deleteAllHistoricSnapshots()Strategy that deletes any historic aggregate snapshots when a new aggregate snapshot is persistedstatic AggregateSnapshotDeletionStrategyAggregateSnapshotDeletionStrategy. keepALimitedNumberOfHistoricSnapshots(long numberOfHistoricSnapshotsToKeep)Strategy that keeps a specific number historic aggregate snapshotsstatic AggregateSnapshotDeletionStrategyAggregateSnapshotDeletionStrategy. keepAllHistoricSnapshots()Strategy that keeps all historic aggregate snapshotsConstructors in dk.cloudcreate.essentials.components.eventsourced.aggregates.snapshot with parameters of type AggregateSnapshotDeletionStrategy Constructor Description PostgresqlAggregateSnapshotRepository(dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.ConfigurableEventStore<? extends dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.persistence.AggregateEventStreamConfiguration> eventStore, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory<? extends dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork> unitOfWorkFactory, dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.serializer.json.JSONEventSerializer jsonSerializer, AddNewAggregateSnapshotStrategy addNewSnapshotStrategy, AggregateSnapshotDeletionStrategy snapshotDeletionStrategy)Create a new durable Postgresql version of thePostgresqlAggregateSnapshotRepositorythat will persistAggregateSnapshot's into thePostgresqlAggregateSnapshotRepository.DEFAULT_AGGREGATE_SNAPSHOTS_TABLE_NAMEtablePostgresqlAggregateSnapshotRepository(dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.ConfigurableEventStore<? extends dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.persistence.AggregateEventStreamConfiguration> eventStore, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory<? extends dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork> unitOfWorkFactory, String snapshotTableName, dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.serializer.json.JSONEventSerializer jsonSerializer, AddNewAggregateSnapshotStrategy addNewSnapshotStrategy, AggregateSnapshotDeletionStrategy snapshotDeletionStrategy)Create a new durable Postgresql version of thePostgresqlAggregateSnapshotRepositoryPostgresqlAggregateSnapshotRepository(dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.ConfigurableEventStore<? extends dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.persistence.AggregateEventStreamConfiguration> eventStore, dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWorkFactory<? extends dk.cloudcreate.essentials.components.foundation.transaction.jdbi.HandleAwareUnitOfWork> unitOfWorkFactory, Optional<String> snapshotTableName, dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.serializer.json.JSONEventSerializer jsonSerializer, AddNewAggregateSnapshotStrategy addNewSnapshotStrategy, AggregateSnapshotDeletionStrategy snapshotDeletionStrategy)Create a new durable Postgresql version of thePostgresqlAggregateSnapshotRepository
-