Packages

package scaladsl

Content Hierarchy
Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final class ChangeEventHandler[Command, State, ChangeEvent] extends AnyRef

    API May Change: Define these handlers in the DurableStateBehavior#withChangeEventHandler to store additional change event when the state is updated.

    API May Change: Define these handlers in the DurableStateBehavior#withChangeEventHandler to store additional change event when the state is updated. The event can be used in Projections.

    Annotations
    @ApiMayChange()
  2. trait DurableStateBehavior[Command, State] extends DeferredBehavior[Command]

    Further customization of the DurableStateBehavior can be done with the methods defined here.

    Further customization of the DurableStateBehavior can be done with the methods defined here.

    Not for user extension

    API May Change

    Annotations
    @ApiMayChange() @DoNotInherit()
  3. trait Effect[+State] extends AnyRef

    A command handler returns an Effect directive that defines what state to persist.

    A command handler returns an Effect directive that defines what state to persist.

    Instances are created through the factories in the Effect companion object.

    Not for user extension.

    Annotations
    @DoNotInherit()
  4. trait EffectBuilder[+State] extends Effect[State]

    A command handler returns an Effect directive that defines what state to persist.

    A command handler returns an Effect directive 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 thenRun

    Not for user extension.

    Annotations
    @DoNotInherit()
  5. 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

  1. object ChangeEventHandler

    API May Change

    API May Change

    Annotations
    @ApiMayChange()
  2. object DurableStateBehavior

    API May Change

    API May Change

    Annotations
    @ApiMayChange()
  3. object Effect

    Factory methods for creating Effect directives - how a DurableStateBehavior reacts on a command.

    Factory methods for creating Effect directives - how a DurableStateBehavior reacts on a command.

    API May Change

    Annotations
    @ApiMayChange()

Ungrouped