public class DefaultYarnContainer extends AbstractYarnContainer implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
YarnContainer.| Constructor and Description |
|---|
DefaultYarnContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStop()
Subclasses may implement this method with the stop behavior.
|
boolean |
isWaitCompleteState()
Indication for possible handler using this bean whether
it should wait
COMPLETED
state. |
void |
onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) |
protected void |
runInternal()
Internal method to handle the actual
AbstractYarnContainer.run() method. |
addContainerStateListener, getConfiguration, getEnvironment, getEnvironment, getParameters, notifyCompleted, notifyCompleted, notifyContainerState, run, setConfiguration, setEnvironment, setParametersafterPropertiesSet, doStart, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stopprotected void runInternal()
AbstractYarnContainerAbstractYarnContainer.run() method.runInternal in class AbstractYarnContainerprotected void doStop()
LifecycleObjectSupportLifecycleObjectSupport.lifecycleLock.doStop in class LifecycleObjectSupportpublic boolean isWaitCompleteState()
LongRunningYarnContainerCOMPLETED
state.isWaitCompleteState in interface LongRunningYarnContainerisWaitCompleteState in class AbstractYarnContainerLongRunningYarnContainer.addContainerStateListener(ContainerStateListener)public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>