public interface OperatorStateMonitor
Modifier and Type | Method and Description |
---|---|
void |
registerProcessorListener(GracefulShutdownListener listener)
Invoked by GracefulShutdownListeners, which listen on operators/selectors for lifecycle events, to get registered with the monitor.
|
void |
stateChanged()
Invoked whenever a processor changes state
|
void stateChanged()
void registerProcessorListener(GracefulShutdownListener listener)
listener
- The listener to register