public class FederationClientMethod<R> extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
FederationClientMethod(String method,
Class<?>[] pTypes,
Object... pParams) |
FederationClientMethod(String method,
Class pTypes,
Object pParams) |
FederationClientMethod(String method,
Class pTypes,
Object pParams,
Class<R> rTypes,
org.apache.hadoop.yarn.server.federation.store.FederationStateStore fedStateStore,
org.apache.hadoop.yarn.util.Clock fedClock) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethodName() |
Object[] |
getParams() |
Class<?>[] |
getTypes()
Get the calling types for this method.
|
protected R |
invoke()
We will use the invoke method to call the method in FederationStateStoreService.
|
public FederationClientMethod(String method, Class<?>[] pTypes, Object... pParams) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic FederationClientMethod(String method, Class pTypes, Object pParams) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic FederationClientMethod(String method, Class pTypes, Object pParams, Class<R> rTypes, org.apache.hadoop.yarn.server.federation.store.FederationStateStore fedStateStore, org.apache.hadoop.yarn.util.Clock fedClock) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic Object[] getParams()
public String getMethodName()
public Class<?>[] getTypes()
protected R invoke() throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException - yarn exception.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.