public class FederationClientMethod<R>
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
FederationClientMethod(java.lang.String method,
java.lang.Class<?>[] pTypes,
java.lang.Object... pParams) |
|
FederationClientMethod(java.lang.String method,
java.lang.Class pTypes,
java.lang.Object pParams) |
|
FederationClientMethod(java.lang.String method,
java.lang.Class pTypes,
java.lang.Object pParams,
java.lang.Class<R> rTypes,
org.apache.hadoop.yarn.server.federation.store.FederationStateStore fedStateStore,
org.apache.hadoop.yarn.util.Clock fedClock) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getMethodName() |
|
java.lang.Object[] |
getParams() |
|
java.lang.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(java.lang.String method,
java.lang.Class<?>[] pTypes,
java.lang.Object... pParams)
throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic FederationClientMethod(java.lang.String method,
java.lang.Class pTypes,
java.lang.Object pParams)
throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic FederationClientMethod(java.lang.String method,
java.lang.Class pTypes,
java.lang.Object pParams,
java.lang.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 java.lang.Object[] getParams()
public java.lang.String getMethodName()
public java.lang.Class<?>[] getTypes()
protected R invoke() throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException - yarn exception.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.