Package org.apache.pekko.persistence.typed.scaladsl
package org.apache.pekko.persistence.typed.scaladsl
-
ClassDescriptionEffect<Event,
State> A command handler returns anEffectdirective that defines what event or events to persist.Factory methods for creatingEffectdirectives - how an event sourced actor reacts on a command.EffectBuilder<Event,State> A command handler returns anEffectdirective that defines what event or events to persist.EventSourcedBehavior<Command,Event, State> Further customization of theEventSourcedBehaviorcan be done with the methods defined here.TheCommandHandlerdefines how to act on commands.Helper functions for migration from PersistentFSM to Persistence TypedHelper functions for migration from PersistentFSM to Persistence TypedStrategy for recovery of snapshots and events.Strategy for recovery of snapshots and events.Provides access to replication specific stateReplyEffect<Event,State> EventSourcedBehavior.withEnforcedRepliescan be used to enforce that replies are not forgotten.Criteria for retention/deletion of snapshots and events.Criteria for retention/deletion of snapshots and events.