package scaladsl
- Alphabetic
- Public
- All
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
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, Effect.thenReply, or Effect.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
RetentionCriteria
Criteria for retention/deletion of snapshots and events.