t

akka.persistence.typed.javadsl

CommandHandlerWithReply

trait CommandHandlerWithReply[Command, Event, State] extends CommandHandler[Command, Event, State]

FunctionalInterface for reacting on commands

Used with CommandHandlerWithReplyBuilder to setup the behavior of a EventSourcedBehaviorWithEnforcedReplies

Annotations
@FunctionalInterface()
Source
CommandHandlerWithReply.scala
Linear Supertypes
CommandHandler[Command, Event, State], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommandHandlerWithReply
  2. CommandHandler
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(state: State, command: Command): ReplyEffect[Event, State]
    Definition Classes
    CommandHandler