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> A command handler returns anEffect
directive that defines what event or events to persist.EventSourcedBehavior<Command,Event,State> Further customization of theEventSourcedBehavior
can be done with the methods defined here.Recovery Strategy for recovery of snapshots and events.ReplicationContext Provides access to replication specific stateReplicationInterceptor<State,Event> ReplyEffect<Event,State> EventSourcedBehavior.withEnforcedReplies
can be used to enforce that replies are not forgotten.RetentionCriteria Criteria for retention/deletion of snapshots and events.SnapshotCountRetentionCriteria -
Class Summary Class Description Effect$ Factory methods for creatingEffect
directives - how an event sourced actor reacts on a command.EventSourcedBehavior.CommandHandler$ TheCommandHandler
defines how to act on commands.EventSourcedBehavior$ PersistentFSMMigration Helper functions for migration from PersistentFSM to Persistence TypedPersistentFSMMigration$ Helper functions for migration from PersistentFSM to Persistence TypedRecovery$ Strategy for recovery of snapshots and events.ReplicatedEventSourcing ReplicatedEventSourcing$ RetentionCriteria$ Criteria for retention/deletion of snapshots and events.SnapshotWhenPredicate$ INTERNAL API