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 commands
Used with CommandHandlerWithReplyBuilder to setup the behavior of a EventSourcedBehaviorWithEnforcedReplies
-
Method Summary
-
Method Details
-
apply
- Specified by:
applyin interfaceCommandHandler<Command,Event, State>
-