Package akka.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 ChangeEventHandler<Command,State,ChangeEvent> API May Change: Define these handlers in theDurableStateBehavior.withChangeEventHandler(akka.persistence.typed.state.scaladsl.ChangeEventHandler<Command, State, ChangeEvent>)
to store additional change event when the state is updated.ChangeEventHandler$ API May ChangeDurableStateBehavior.CommandHandler$ TheCommandHandler
defines how to act on commands.DurableStateBehavior$ API May ChangeEffect$ Factory methods for creatingEffect
directives - how aDurableStateBehavior
reacts on a command.