public interface EventProcessor
| Modifier and Type | Method and Description |
|---|---|
default boolean |
executeSideEffects()
(Optional) Execute the side effects which are caused by the processed event.
|
default void |
processEvent()
Process the event.
|
default void |
updateState()
(Optional) Update the internal state of the processor based on the processed event.
|
default long |
writeEvent(LogStreamRecordWriter writer)
(Optional) Write an event to the log stream that is caused by the processed event.
|
default void processEvent()
default boolean executeSideEffects()
true, if the execution completes successfully or no side effect was
executed.default long writeEvent(LogStreamRecordWriter writer)
writer - the log stream writer to write the event to the target log stream.default void updateState()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.