Package org.apache.pekko.persistence.typed.javadsl
package org.apache.pekko.persistence.typed.javadsl
-
ClassDescriptionCommandHandler<Command,
Event, State> FunctionalInterface for reacting on commandsCommandHandlerBuilder<Command,Event, State> CommandHandlerBuilderByState<Command,Event, S extends State, State> CommandHandlerWithReply<Command,Event, State> FunctionalInterface for reacting on commandsCommandHandlerWithReplyBuilder<Command,Event, State> CommandHandlerWithReplyBuilderByState<Command,Event, S extends State, State> Effect<Event,State> A command handler returns anEffectdirective that defines what event or events to persist.EffectBuilder<Event,State> A command handler returns anEffectdirective that defines what event or events to persist.EffectFactories<Event,State> Factory methods for creatingEffectdirectives - how an event sourced actor reacts on a command.INTERNAL API: seeclass EffectFactoriesEventHandler<State,Event> FunctionalInterface for reacting on events having been persistedEventHandlerBuilder<State,Event> EventHandlerBuilderByState<S extends State,State, Event> EventSourcedBehavior<Command,Event, State> EventSourcedBehaviorWithEnforcedReplies<Command,Event, State> AEventSourcedBehaviorthat is enforcing that replies to commands are not forgotten.Helper functions for migration from PersistentFSM to Persistence TypedHelper functions for migration from PersistentFSM to Persistence TypedStrategy for recovery of snapshots and events.Strategy for recovery of snapshots and events.ReplicatedEventSourcedBehavior<Command,Event, State> Base class for replicated event sourced behaviors.Provides access to replication specific stateReplyEffect<Event,State> EventSourcedBehaviorWithEnforcedRepliescan be used to enforce that replies are not forgotten.Criteria for retention/deletion of snapshots and events.Criteria for retention/deletion of snapshots and events.SignalHandler<State>SignalHandlerBuilder<State>Mutable builder for handling signals inEventSourcedBehavior