Package

akka.persistence.typed

javadsl

Permalink

package javadsl

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    FunctionalInterface for reacting on commands

    FunctionalInterface for reacting on commands

    Used with CommandHandlerBuilder to setup the behavior of a PersistentBehavior

    Annotations
    @FunctionalInterface()
  2. final class CommandHandlerBuilder[Command, Event, S <: State, State] extends AnyRef

    Permalink
  3. abstract class Effect[+Event, State] extends AnyRef

    Permalink

    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 in the respective Java and Scala DSL packages.

    Not intended for user extension.

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

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

    Permalink

    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 PersistentBehavior

    Annotations
    @FunctionalInterface()
  6. final class EventHandlerBuilder[State >: Null, Event] extends AnyRef

    Permalink
  7. abstract class PersistentBehavior[Command, Event, State >: Null] extends DeferredBehavior[Command]

    Permalink

    Java API

    Java API

    Annotations
    @ApiMayChange()

Ungrouped