Package io.fluxcapacitor.javaclient.persisting.eventsourcing
package io.fluxcapacitor.javaclient.persisting.eventsourcing
-
ClassDescriptionA wrapper around a stream of aggregate events, enriched with metadata such as the aggregate ID and the last known sequence number.Indicates that a method or constructor applies an update to an entity, or creates or deletes an entity.Default implementation of the
EventStore
interface, providing mechanisms to store and retrieve events associated with aggregate instances.Default implementation of theSnapshotStore
interface, responsible for managing snapshots of aggregate roots in an event-sourced system.Thrown when an event sourcing operation fails.High-level abstraction for accessing and storing domain events in an event-sourced system.Indicates that a method should intercept and potentially transform an update before it is applied to an entity.ASnapshotStore
implementation that is used when snapshotting is explicitly disabled, such as whensnapshotPeriod <= 0
is configured on an aggregate viaAggregate
.ASnapshotTrigger
implementation that never triggers snapshot creation.ASnapshotTrigger
that triggers snapshot creation at fixed intervals based on the aggregate's sequence number.Interface for managing snapshots of aggregates in an event-sourced system.Functional interface used to determine whether a new snapshot should be created for an aggregate.