Package akka.persistence.typed.javadsl
Interface CommandHandlerWithReply<Command,Event,State>
-
- All Superinterfaces:
CommandHandler<Command,Event,State>
public interface CommandHandlerWithReply<Command,Event,State> extends CommandHandler<Command,Event,State>
FunctionalInterface for reacting on commandsUsed with
CommandHandlerWithReplyBuilder
to setup the behavior of aEventSourcedBehaviorWithEnforcedReplies
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplyEffect<Event,State>
apply(State state, Command command)
-
-
-
Method Detail
-
apply
ReplyEffect<Event,State> apply(State state, Command command)
- Specified by:
apply
in interfaceCommandHandler<Command,Event,State>
-
-