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()
- trait ReplyEffectOps[+State, +Self <: ReplyEffectOps[State, Self]] extends ReplyEffect[State]
Shared operations on reply effects that preserve their result type.
Shared operations on reply effects that preserve their result type.
Not intended for user extension.
- Self
The reply-effect stage returned by chained operations.
- Annotations
- @DoNotInherit()
- Since
2.0.0
- trait ReplyEffectWithStop[+State] extends ReplyEffectOps[State, ReplyEffectWithStop[State]]
A reply decision that can be followed by stopping the actor.
A reply decision that can be followed by stopping the actor. Returned by
reply,noReply,thenReply, andthenNoReply. Stashing returns the base ReplyEffect, which does not allowthenStop.Not intended for user extension.
- Annotations
- @DoNotInherit()
- Since
2.0.0
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()