Interface CommandHandlerWithReply<Command,State>
-
- All Superinterfaces:
CommandHandler<Command,State>
public interface CommandHandlerWithReply<Command,State> extends CommandHandler<Command,State>
FunctionalInterface for reacting on commandsUsed with
CommandHandlerWithReplyBuilderto setup the behavior of aDurableStateBehaviorWithEnforcedReplies
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplyEffect<State>apply(State state, Command command)
-
-
-
Method Detail
-
apply
ReplyEffect<State> apply(State state, Command command)
- Specified by:
applyin interfaceCommandHandler<Command,State>
-
-