Interface CommandHandler<Command,State>
-
- All Known Subinterfaces:
CommandHandlerWithReply<Command,State>
public interface CommandHandler<Command,State>
FunctionalInterface for reacting on commandsUsed with
CommandHandlerBuilder
to setup the behavior of aDurableStateBehavior
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Effect<State>
apply(State state, Command command)
-