Package org.apache.pekko.persistence.typed.state.scaladsl
-
Interface Summary Interface Description DurableStateBehavior<Command,State> Further customization of theDurableStateBehavior
can be done with the methods defined here.Effect<State> A command handler returns anEffect
directive that defines what state to persist.EffectBuilder<State> A command handler returns anEffect
directive that defines what state to persist.ReplyEffect<State> DurableStateBehavior.withEnforcedReplies
can be used to enforce that replies are not forgotten. -
Class Summary Class Description DurableStateBehavior.CommandHandler$ TheCommandHandler
defines how to act on commands.DurableStateBehavior$ API May ChangeEffect$ Factory methods for creatingEffect
directives - how aDurableStateBehavior
reacts on a command.