public interface MutableState<EventT,ResultT>
extends java.io.Serializable
| Modifier and Type | Method and Description | 
|---|---|
| void | mutate(EventT event)The interface assumes that events will mutate the state without the possibility of throwing an
 error. | 
| ResultT | produceResult()This method is called after each state mutation. | 
void mutate(EventT event) throws java.lang.Exception
event - to be processedjava.lang.Exception - if a checked exception is thrown, the event will be output into OrderedEventProcessorResult.unprocessedEvents() withResultT produceResult()