Package org.apache.pekko.persistence.typed.state.scaladsl
-
Interface Summary Interface Description DurableStateBehavior<Command,State> Further customization of theDurableStateBehaviorcan be done with the methods defined here.Effect<State> A command handler returns anEffectdirective that defines what state to persist.EffectBuilder<State> A command handler returns anEffectdirective that defines what state to persist.ReplyEffect<State> DurableStateBehavior.withEnforcedRepliescan be used to enforce that replies are not forgotten. -
Class Summary Class Description DurableStateBehavior.CommandHandler$ TheCommandHandlerdefines how to act on commands.DurableStateBehavior$ API May ChangeEffect$ Factory methods for creatingEffectdirectives - how aDurableStateBehaviorreacts on a command.