Package akka.persistence.typed.state.javadsl
-
Interface Summary Interface Description CommandHandler<Command,State> FunctionalInterface for reacting on commandsCommandHandlerWithReply<Command,State> FunctionalInterface for reacting on commandsEffect<State> A command handler returns anEffect
directive that defines what state to persist.ReplyEffect<State> DurableStateBehaviorWithEnforcedReplies
can be used to enforce that replies are not forgotten. -
Class Summary Class Description CommandHandlerBuilder<Command,State> CommandHandlerBuilder$ CommandHandlerBuilderByState<Command,S extends State,State> CommandHandlerBuilderByState$ CommandHandlerWithReplyBuilder<Command,State> CommandHandlerWithReplyBuilder$ CommandHandlerWithReplyBuilderByState<Command,S extends State,State> CommandHandlerWithReplyBuilderByState$ DurableStateBehavior<Command,State> ABehavior
for a persistent actor with durable storage of its state.DurableStateBehaviorWithEnforcedReplies<Command,State> ADurableStateBehavior
that is enforcing that replies to commands are not forgotten.EffectBuilder<State> A command handler returns anEffect
directive that defines what state to persist.EffectFactories<State> Factory methods for creatingEffect
directives - how aDurableStateBehavior
reacts on a command.EffectFactories$ INTERNAL API: seeclass EffectFactories
SignalHandler<State> SignalHandler$ SignalHandlerBuilder<State> Mutable builder for handling signals inDurableStateBehavior
SignalHandlerBuilder$