Packages

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, S <: State, State] extends AnyRef
  3. abstract class 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.

    Additional side effects can be performed in the callback andThen

    Instances of Effect are available through factories EventSourcedBehavior.Effect.

    Not intended for user extension.

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

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

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

    Not for user extension

    Annotations
    @DoNotInherit()
  5. 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()
  6. final class EventHandlerBuilder[State >: Null, Event] extends AnyRef
  7. abstract class EventSourcedBehavior[Command, Event, State >: Null] extends DeferredBehavior[Command]
    Annotations
    @ApiMayChange()
  8. abstract class EventSourcedBehaviorWithEnforcedReplies[Command, Event, State >: Null] extends EventSourcedBehavior[Command, Event, State]

    FIXME This is not completed for javadsl yet.

    FIXME This is not completed for javadsl yet. The compiler is not enforcing the replies yet.

    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()
  9. abstract class 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()

Ungrouped