|
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.am.container.AbstractLauncher.ContainerLauncherInterceptorList
protected class AbstractLauncher.ContainerLauncherInterceptorList
Convenient wrapper for interceptor list.
Constructor Summary | |
---|---|
protected |
AbstractLauncher.ContainerLauncherInterceptorList()
|
Method Summary | |
---|---|
boolean |
add(ContainerLauncherInterceptor interceptor)
Adds interceptor to the list. |
org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
preLaunch(org.apache.hadoop.yarn.api.records.ContainerLaunchContext context)
Handles the pre launch calls. |
boolean |
set(java.util.List<ContainerLauncherInterceptor> interceptors)
Sets the interceptors, clears any existing interceptors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractLauncher.ContainerLauncherInterceptorList()
Method Detail |
---|
public boolean set(java.util.List<ContainerLauncherInterceptor> interceptors)
interceptors
- the list of interceptors
public boolean add(ContainerLauncherInterceptor interceptor)
interceptor
- the interceptor
Collection.add(E)
)public org.apache.hadoop.yarn.api.records.ContainerLaunchContext preLaunch(org.apache.hadoop.yarn.api.records.ContainerLaunchContext context)
context
- the container launch context
null
if interceptor broke the chain
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |