|
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.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 beanpublic ContainerHandler(java.lang.Object target, java.lang.reflect.Method method)
target
- the target beanmethod
- the methodpublic 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 processorMethod 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 |