S - state typepublic class QueueDrainingEventProcessor<S> extends AbstractEventProcessor<S>
| Constructor and Description |
|---|
QueueDrainingEventProcessor(StateMachine<S> stateMachine,
BiConsumer<Throwable,S> errorHandler,
String loggingPrefix)
Constructs a new instance.
|
public QueueDrainingEventProcessor(StateMachine<S> stateMachine, BiConsumer<Throwable,S> errorHandler, String loggingPrefix)
stateMachine - state machineerrorHandler - handler to use if an exception/error is thrown by the state machine (e.g. during a transition side-effect)loggingPrefix - a prefix to prepend to the beginning of log linesCopyright © 2013–2018 Hotels.com. All rights reserved.