package javadsl

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

Type Members

  1. trait CommandHandler[Command, State] extends AnyRef

    FunctionalInterface for reacting on commands

    FunctionalInterface for reacting on commands

    Used with CommandHandlerBuilder to setup the behavior of a DurableStateBehavior

    Annotations
    @FunctionalInterface()
  2. final class CommandHandlerBuilder[Command, State] extends AnyRef
  3. final class CommandHandlerBuilderByState[Command, S <: State, State] extends AnyRef
  4. trait CommandHandlerWithReply[Command, State] extends CommandHandler[Command, State]

    FunctionalInterface for reacting on commands

    FunctionalInterface for reacting on commands

    Used with CommandHandlerWithReplyBuilder to setup the behavior of a DurableStateBehaviorWithEnforcedReplies

    Annotations
    @FunctionalInterface()
  5. final class CommandHandlerWithReplyBuilder[Command, State] extends AnyRef
  6. final class CommandHandlerWithReplyBuilderByState[Command, S <: State, State] extends AnyRef
  7. abstract class DurableStateBehavior[Command, State] extends DeferredBehavior[Command]

    A Behavior for a persistent actor with durable storage of its state.

    A Behavior for a persistent actor with durable storage of its state.

    API May Change

    Annotations
    @ApiMayChange()
  8. abstract class DurableStateBehaviorWithEnforcedReplies[Command, State] extends DurableStateBehavior[Command, State]

    A DurableStateBehavior that is enforcing that replies to commands are not forgotten.

    A DurableStateBehavior that is enforcing that replies to commands are not forgotten. There will be compilation errors if the returned effect isn't a ReplyEffect, which can be created with Effects().reply, Effects().noReply, EffectBuilder.thenReply, or EffectBuilder.thenNoReply.

  9. 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 of Effect are available through factories DurableStateBehavior.Effect.

    Not intended for user extension.

    Annotations
    @DoNotInherit()
  10. abstract class 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.

    Additional side effects can be performed in the callback thenRun

    Instances of Effect are available through factories DurableStateBehavior.Effect.

    Not intended for user extension.

    Annotations
    @DoNotInherit()
  11. sealed class EffectFactories[State] extends AnyRef

    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. Created via DurableStateBehavior.Effect.

    Not for user extension

    API May Change

    Annotations
    @ApiMayChange() @DoNotInherit()
  12. trait ReplyEffect[State] extends Effect[State]

    DurableStateBehaviorWithEnforcedReplies can be used to enforce that replies are not forgotten.

    DurableStateBehaviorWithEnforcedReplies 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 Effects().reply, Effects().noReply, EffectBuilder.thenReply, or EffectBuilder.thenNoReply.

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

  14. 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, and thenNoReply. Stashing returns the base ReplyEffect, which does not allow thenStop.

    Not intended for user extension.

    Annotations
    @DoNotInherit()
    Since

    2.0.0

  15. final class SignalHandler[State] extends AnyRef
  16. final class SignalHandlerBuilder[State] extends AnyRef

    Mutable builder for handling signals in DurableStateBehavior

    Mutable builder for handling signals in DurableStateBehavior

    Not for user instantiation, use DurableStateBehavior.newSignalHandlerBuilder to get an instance.

Ungrouped