package scaladsl
- Alphabetic
- Public
- Protected
Type Members
- trait Effect[+Event, State] extends AnyRef
A command handler returns an
Effect
directive that defines what event or events to persist.A command handler returns an
Effect
directive that defines what event or events to persist.Instances are created through the factories in the Effect companion object.
Not for user extension.
- Annotations
- @DoNotInherit()
- trait EffectBuilder[+Event, State] extends Effect[Event, State]
A command handler returns an
Effect
directive that defines what event or events to persist.A command handler returns an
Effect
directive that defines what event or events to persist.Instances are created through the factories in the Effect companion object.
Additional side effects can be performed in the callback
thenRun
Not for user extension.
- Annotations
- @DoNotInherit()
- trait EventSourcedBehavior[Command, Event, State] extends DeferredBehavior[Command]
Further customization of the
EventSourcedBehavior
can be done with the methods defined here.Further customization of the
EventSourcedBehavior
can be done with the methods defined here.Not for user extension
- Annotations
- @DoNotInherit()
- trait Recovery extends AnyRef
Strategy for recovery of snapshots and events.
- trait ReplicationContext extends AnyRef
Provides access to replication specific state
Provides access to replication specific state
Not for user extension
- Annotations
- @DoNotInherit()
- trait ReplyEffect[+Event, State] extends Effect[Event, State]
EventSourcedBehavior.withEnforcedReplies can be used to enforce that replies are not forgotten.
EventSourcedBehavior.withEnforcedReplies can be used to enforce that replies are not forgotten. Then there will be compilation errors if the returned effect isn't a ReplyEffect, which can be created with Effect.reply, Effect.noReply, EffectBuilder.thenReply, or EffectBuilder.thenNoReply.
Not intended for user extension.
- Annotations
- @DoNotInherit()
- trait RetentionCriteria extends AnyRef
Criteria for retention/deletion of snapshots and events.
- trait SnapshotCountRetentionCriteria extends RetentionCriteria
- Annotations
- @DoNotInherit()
Value Members
- object Effect
Factory methods for creating Effect directives - how an event sourced actor reacts on a command.
- object EventSourcedBehavior
- object PersistentFSMMigration
Helper functions for migration from PersistentFSM to Persistence Typed
- object Recovery
Strategy for recovery of snapshots and events.
- object ReplicatedEventSourcing
- object RetentionCriteria
Criteria for retention/deletion of snapshots and events.