Package akka.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 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$ TheCommandHandlerdefines how to act on commands.DurableStateBehavior$ API May ChangeEffect$ Factory methods for creatingEffectdirectives - how aDurableStateBehaviorreacts on a command.