|
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.container.ContainerHandler
public class ContainerHandler
Handler for a common object representing something to be run.
This is usually used when a plain pojo is configured with @YarnContainer
and @OnYarnContainerStart annotations.
| Constructor Summary | |
|---|---|
ContainerHandler(MethodInvokingYarnContainerRuntimeProcessor<T> processor)
Instantiates a new container handler. |
|
ContainerHandler(java.lang.Object target)
Instantiates a new container handler. |
|
ContainerHandler(java.lang.Object target,
java.lang.reflect.Method method)
Instantiates a new container handler. |
|
ContainerHandler(java.lang.Object target,
java.lang.String methodName)
Instantiates a new container handler. |
|
| Method Summary | |
|---|---|
java.lang.Object |
handle(YarnContainerRuntime yarnContainerRuntime)
Handle container using a YarnContainerRuntimeProcessor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerHandler(java.lang.Object target)
target - the target bean
public ContainerHandler(java.lang.Object target,
java.lang.reflect.Method method)
target - the target beanmethod - the method
public ContainerHandler(java.lang.Object target,
java.lang.String methodName)
target - the target beanmethodName - the method namepublic ContainerHandler(MethodInvokingYarnContainerRuntimeProcessor<T> processor)
T - the generic typeprocessor - the processor| Method Detail |
|---|
public java.lang.Object handle(YarnContainerRuntime yarnContainerRuntime)
YarnContainerRuntimeProcessor.
yarnContainerRuntime - the yarn container runtime
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||