Package org.apache.pekko.persistence.typed.javadsl
-
Interface Summary Interface Description CommandHandler<Command,Event,State> FunctionalInterface for reacting on commandsCommandHandlerWithReply<Command,Event,State> FunctionalInterface for reacting on commandsEffect<Event,State> A command handler returns anEffect
directive that defines what event or events to persist.EventHandler<State,Event> FunctionalInterface for reacting on events having been persistedReplicationContext Provides access to replication specific stateReplyEffect<Event,State> EventSourcedBehaviorWithEnforcedReplies
can be used to enforce that replies are not forgotten. -
Class Summary Class Description CommandHandlerBuilder<Command,Event,State> CommandHandlerBuilder$ CommandHandlerBuilderByState<Command,Event,S extends State,State> CommandHandlerBuilderByState$ CommandHandlerWithReplyBuilder<Command,Event,State> CommandHandlerWithReplyBuilder$ CommandHandlerWithReplyBuilderByState<Command,Event,S extends State,State> CommandHandlerWithReplyBuilderByState$ EffectBuilder<Event,State> A command handler returns anEffect
directive that defines what event or events to persist.EffectFactories<Event,State> Factory methods for creatingEffect
directives - how an event sourced actor reacts on a command.EffectFactories$ INTERNAL API: seeclass EffectFactories
EventHandlerBuilder<State,Event> EventHandlerBuilder$ EventHandlerBuilderByState<S extends State,State,Event> EventHandlerBuilderByState$ EventSourcedBehavior<Command,Event,State> EventSourcedBehaviorWithEnforcedReplies<Command,Event,State> AEventSourcedBehavior
that is enforcing that replies to commands are not forgotten.PersistentFSMMigration Helper functions for migration from PersistentFSM to Persistence TypedPersistentFSMMigration$ Helper functions for migration from PersistentFSM to Persistence TypedRecovery Strategy for recovery of snapshots and events.Recovery$ Strategy for recovery of snapshots and events.ReplicatedEventSourcedBehavior<Command,Event,State> Base class for replicated event sourced behaviors.ReplicatedEventSourcing ReplicatedEventSourcing$ RetentionCriteria Criteria for retention/deletion of snapshots and events.RetentionCriteria$ Criteria for retention/deletion of snapshots and events.SignalHandler<State> SignalHandler$ SignalHandlerBuilder<State> Mutable builder for handling signals inEventSourcedBehavior
SignalHandlerBuilder$ SnapshotCountRetentionCriteria