package javadsl

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait CommandHandler[Command, Event, State] extends AnyRef

    FunctionalInterface for reacting on commands

    FunctionalInterface for reacting on commands

    Used with CommandHandlerBuilder to setup the behavior of a EventSourcedBehavior

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

    FunctionalInterface for reacting on commands

    FunctionalInterface for reacting on commands

    Used with CommandHandlerWithReplyBuilder to setup the behavior of a EventSourcedBehaviorWithEnforcedReplies

    Annotations
    @FunctionalInterface()
  5. final class CommandHandlerWithReplyBuilder[Command, Event, State] extends AnyRef
  6. final class CommandHandlerWithReplyBuilderByState[Command, Event, S <: State, State] extends AnyRef
  7. 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 of Effect are available through factories EventSourcedBehavior.Effect.

    Not intended for user extension.

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

    Additional side effects can be performed in the callback thenRun

    Instances of Effect are available through factories EventSourcedBehavior.Effect.

    Not intended for user extension.

    Annotations
    @DoNotInherit()
  9. sealed class EffectFactories[Event, State] extends AnyRef

    Factory methods for creating Effect directives - how an event sourced actor reacts on a command.

    Factory methods for creating Effect directives - how an event sourced actor reacts on a command. Created via EventSourcedBehavior.Effect.

    Not for user extension

    Annotations
    @DoNotInherit()
  10. trait EventHandler[State, Event] extends AnyRef

    FunctionalInterface for reacting on events having been persisted

    FunctionalInterface for reacting on events having been persisted

    Used with EventHandlerBuilder to setup the behavior of a EventSourcedBehavior

    Annotations
    @FunctionalInterface()
  11. final class EventHandlerBuilder[State, Event] extends AnyRef
  12. final class EventHandlerBuilderByState[S <: State, State, Event] extends AnyRef
  13. abstract class EventSourcedBehavior[Command, Event, State] extends DeferredBehavior[Command]
    Annotations
    @ApiMayChange()
  14. abstract class EventSourcedBehaviorWithEnforcedReplies[Command, Event, State] extends EventSourcedBehavior[Command, Event, State]

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

    A EventSourcedBehavior 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, Effect.thenReply, or Effect.thenNoReply.

    Annotations
    @ApiMayChange()
  15. trait ReplyEffect[+Event, State] extends Effect[Event, State]

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

    EventSourcedBehaviorWithEnforcedReplies 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, Effect.thenReply, or Effect.thenNoReply.

    Annotations
    @DoNotInherit()
  16. abstract class RetentionCriteria extends AnyRef

    Criteria for retention/deletion of snapshots and events.

  17. final class SignalHandler[State] extends AnyRef
  18. final class SignalHandlerBuilder[State] extends AnyRef

    Mutable builder for handling signals in EventSourcedBehavior

    Mutable builder for handling signals in EventSourcedBehavior

    Not for user instantiation, use EventSourcedBehavior#newSignalHandlerBuilder() to get an instance.

  19. abstract class SnapshotCountRetentionCriteria extends RetentionCriteria
    Annotations
    @DoNotInherit()

Ungrouped