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