|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.yarn.support.LifecycleObjectSupport
org.springframework.yarn.am.AbstractAppmaster
org.springframework.yarn.am.AbstractServicesAppmaster
public abstract class AbstractServicesAppmaster
Extension of AbstractAppmaster
which adds
a common container services needed for usual
application master.
Constructor Summary | |
---|---|
AbstractServicesAppmaster()
|
Method Summary | |
---|---|
ContainerAllocator |
getAllocator()
Gets a used ContainerAllocator for this class. |
ContainerLauncher |
getLauncher()
Gets a used ContainerLauncher for this class. |
ContainerMonitor |
getMonitor()
Gets a used ContainerMonitor for this class. |
void |
setAllocator(ContainerAllocator allocator)
Sets the ContainerAllocator used for this class. |
void |
setLauncher(ContainerLauncher launcher)
Sets the ContainerLauncher used for this class. |
void |
setMonitor(ContainerMonitor monitor)
Sets the ContainerMonitor used for this class. |
Methods inherited from class org.springframework.yarn.support.LifecycleObjectSupport |
---|
afterPropertiesSet, doStart, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, 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 AbstractServicesAppmaster()
Method Detail |
---|
public ContainerAllocator getAllocator()
ContainerAllocator
for this class.
ContainerAllocator
used in this classpublic void setAllocator(ContainerAllocator allocator)
ContainerAllocator
used for this class.
This should be called before onInit
for this class
is called.
allocator
- the ContainerAllocator
public ContainerLauncher getLauncher()
ContainerLauncher
for this class.
ContainerLauncher
used in this classpublic void setLauncher(ContainerLauncher launcher)
ContainerLauncher
used for this class.
This should be called before onInit
for this class
is called.
launcher
- the ContainerLauncher
public ContainerMonitor getMonitor()
ContainerMonitor
for this class.
ContainerMonitor
used in this classpublic void setMonitor(ContainerMonitor monitor)
ContainerMonitor
used for this class.
This should be called before onInit
for this class
is called.
monitor
- the ContainerMonitor
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |