Package akka.persistence.typed.javadsl
Interface EventHandler<State,Event>
-
public interface EventHandler<State,Event>FunctionalInterface for reacting on events having been persistedUsed with
EventHandlerBuilderto setup the behavior of aEventSourcedBehavior
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stateapply(State state, Event event)
-