T
- the return typepublic class MethodInvokingYarnContainerRuntimeProcessor<T> extends java.lang.Object implements YarnContainerRuntimeProcessor<T>
YarnContainerRuntimeProcessor
implementation using
methods from a container.Constructor and Description |
---|
MethodInvokingYarnContainerRuntimeProcessor(java.lang.Object targetObject,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
MethodInvokingYarnContainerRuntimeProcessor(java.lang.Object targetObject,
java.lang.reflect.Method method) |
MethodInvokingYarnContainerRuntimeProcessor(java.lang.Object targetObject,
java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
T |
process(YarnContainerRuntime yarnContainerRuntime)
Process the container based on information available
from
YarnContainerRuntime . |
public MethodInvokingYarnContainerRuntimeProcessor(java.lang.Object targetObject, java.lang.reflect.Method method)
public MethodInvokingYarnContainerRuntimeProcessor(java.lang.Object targetObject, java.lang.String methodName)
public MethodInvokingYarnContainerRuntimeProcessor(java.lang.Object targetObject, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public T process(YarnContainerRuntime yarnContainerRuntime)
YarnContainerRuntimeProcessor
YarnContainerRuntime
.process
in interface YarnContainerRuntimeProcessor<T>
yarnContainerRuntime
- the yarn container runtime