Used by GracefulShutdownListeners. Not intended for public use.
| Type | Name 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 |
Invoked by GracefulShutdownListeners, which listen on operators/selectors for lifecycle events, to get registered with the monitor. The monitor will query these registered listeners about their respective operator/selector state when performing graceful shutdown.
listener - The listener to registerInvoked whenever a processor changes state