package scaladsl
- Alphabetic
- Public
- Protected
Type Members
- trait DurableStateBehavior[Command, State] extends DeferredBehavior[Command]
Further customization of the
DurableStateBehaviorcan be done with the methods defined here.Further customization of the
DurableStateBehaviorcan be done with the methods defined here.Not for user extension
API May Change
- Annotations
- @ApiMayChange() @DoNotInherit()
- trait Effect[+State] extends AnyRef
A command handler returns an
Effectdirective that defines what state to persist.A command handler returns an
Effectdirective that defines what state to persist.Instances are created through the factories in the Effect companion object.
Not for user extension.
- Annotations
- @DoNotInherit()
- trait EffectBuilder[+State] extends Effect[State]
A command handler returns an
Effectdirective that defines what state to persist.A command handler returns an
Effectdirective that defines what state to persist.Instances are created through the factories in the Effect companion object.
Additional side effects can be performed in the callback
thenRunNot for user extension.
- Annotations
- @DoNotInherit()
- trait ReplyEffect[+State] extends Effect[State]
DurableStateBehavior.withEnforcedReplies can be used to enforce that replies are not forgotten.
DurableStateBehavior.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()
Value Members
- object DurableStateBehavior
API May Change
API May Change
- Annotations
- @ApiMayChange()
- object Effect
Factory methods for creating Effect directives - how a
DurableStateBehaviorreacts on a command.Factory methods for creating Effect directives - how a
DurableStateBehaviorreacts on a command.API May Change
- Annotations
- @ApiMayChange()