public interface StreamProcessor
| Modifier and Type | Method and Description |
|---|---|
default StateController |
getStateController()
Deprecated.
|
SnapshotSupport |
getStateResource()
Returns the resource which holds the state of the processor.
|
default void |
onClose()
Callback which is invoked by the controller when it closes.
|
EventProcessor |
onEvent(LoggedEvent event)
Returns a specific processor to process the event which is read from the log stream, if
available.
|
default void |
onOpen(StreamProcessorContext context)
Callback which is invoked by the controller when it opens.
|
default void |
onRecovered()
Callback which is invoked by the controller when the recovery is done.
|
SnapshotSupport getStateResource()
default StateController getStateController()
EventProcessor onEvent(LoggedEvent event)
event - the event to processnull if the event can't be
processeddefault void onOpen(StreamProcessorContext context)
default void onRecovered()
default void onClose()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.