Package akka.persistence.typed.scaladsl
-
Interface Summary Interface Description Effect<Event,State> A command handler returns anEffect
directive that defines what event or events to persist.EffectBuilder<Event,State> Run the given callback.EventSourcedBehavior<Command,Event,State> Allows the event sourced behavior to react on signals.ReplyEffect<Event,State> Unstash the commands that were stashed withEffect.stash
.RetentionCriteria Criteria for retention/deletion of snapshots and events.SnapshotCountRetentionCriteria Delete events after saving snapshot via {@link RetentionCriteria.snapshotEvery()}. -
Class Summary Class Description Effect$ Persist a single eventEventSourcedBehavior.CommandHandler$ Convenience for simple commands that don't need the state and context.EventSourcedBehavior$ Type alias for the command handler function that defines how to act on commands.RetentionCriteria$ Snapshots are not saved and deleted automatically, events are not deleted.