public abstract class AbstractMonitor extends LifecycleObjectSupport
Constructor and Description |
---|
AbstractMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
addContainerMonitorStateListener(ContainerMonitorListener listener)
Adds the container monitor state listener.
|
protected void |
notifyState(ContainerMonitorListener.ContainerMonitorState state)
Notify new
ContainerMonitorListener.ContainerMonitorState for registered listeners. |
afterPropertiesSet, doStart, doStop, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop
public void addContainerMonitorStateListener(ContainerMonitorListener listener)
listener
- the listenerprotected void notifyState(ContainerMonitorListener.ContainerMonitorState state)
ContainerMonitorListener.ContainerMonitorState
for registered listeners.state
- the ContainerMonitorListener.ContainerMonitorState