Package org.apache.pekko.persistence.typed.state.javadsl
package org.apache.pekko.persistence.typed.state.javadsl
-
ClassDescriptionCommandHandler<Command,
State> FunctionalInterface for reacting on commandsCommandHandlerBuilder<Command,State> CommandHandlerBuilderByState<Command,S extends State, State> CommandHandlerWithReply<Command,State> FunctionalInterface for reacting on commandsCommandHandlerWithReplyBuilder<Command,State> CommandHandlerWithReplyBuilderByState<Command,S extends State, State> DurableStateBehavior<Command,State> ABehaviorfor a persistent actor with durable storage of its state.DurableStateBehaviorWithEnforcedReplies<Command,State> ADurableStateBehaviorthat is enforcing that replies to commands are not forgotten.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.EffectFactories<State>Factory methods for creatingEffectdirectives - how aDurableStateBehaviorreacts on a command.INTERNAL API: seeclass EffectFactoriesReplyEffect<State>DurableStateBehaviorWithEnforcedRepliescan be used to enforce that replies are not forgotten.SignalHandler<State>SignalHandlerBuilder<State>Mutable builder for handling signals inDurableStateBehavior