public class RMAdminProtocolMethod
extends org.apache.hadoop.yarn.server.federation.utils.FederationMethodWrapper
Constructor and Description |
---|
RMAdminProtocolMethod(Class<?>[] pTypes,
Object... pParams) |
Modifier and Type | Method and Description |
---|---|
protected <R> Collection<R> |
invoke(Class<R> clazz,
String subClusterId)
Call the method in the protocol according to the subClusterId.
|
protected <R> Collection<R> |
invokeConcurrent(Class<R> clazz) |
<R> Collection<R> |
invokeConcurrent(FederationRMAdminInterceptor interceptor,
Class<R> clazz,
String subClusterId) |
public RMAdminProtocolMethod(Class<?>[] pTypes, Object... pParams) throws IOException
IOException
public <R> Collection<R> invokeConcurrent(FederationRMAdminInterceptor interceptor, Class<R> clazz, String subClusterId) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException
protected <R> Collection<R> invokeConcurrent(Class<R> clazz) throws org.apache.hadoop.yarn.exceptions.YarnException
invokeConcurrent
in class org.apache.hadoop.yarn.server.federation.utils.FederationMethodWrapper
org.apache.hadoop.yarn.exceptions.YarnException
protected <R> Collection<R> invoke(Class<R> clazz, String subClusterId) throws org.apache.hadoop.yarn.exceptions.YarnException
R
- Generic Rclazz
- return typesubClusterId
- subCluster Idorg.apache.hadoop.yarn.exceptions.YarnException
- yarn exception.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.