|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.support.LifecycleObjectSupport org.springframework.yarn.am.monitor.AbstractMonitor
public abstract class AbstractMonitor
The base class for Container monitoring implementations.
Constructor Summary | |
---|---|
AbstractMonitor()
|
Method Summary | |
---|---|
void |
addContainerMonitorStateListener(ContainerMonitorListener listener)
Adds the container monitor state listener. |
protected void |
notifyState(ContainerMonitorListener.ContainerMonitorState state)
Notify new ContainerMonitorListener.ContainerMonitorState for registered listeners. |
Methods inherited from class org.springframework.yarn.support.LifecycleObjectSupport |
---|
afterPropertiesSet, doStart, doStop, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMonitor()
Method Detail |
---|
public void addContainerMonitorStateListener(ContainerMonitorListener listener)
listener
- the listenerprotected void notifyState(ContainerMonitorListener.ContainerMonitorState state)
ContainerMonitorListener.ContainerMonitorState
for registered listeners.
state
- the ContainerMonitorListener.ContainerMonitorState
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |