@InterfaceAudience.Private public static class AMRMProxyService.RequestInterceptorChainWrapper extends Object
Constructor and Description |
---|
RequestInterceptorChainWrapper() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId()
Gets the application attempt identifier.
|
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId()
Gets the application identifier.
|
RequestInterceptor |
getRootInterceptor()
Gets the root request interceptor.
|
void |
init(RequestInterceptor interceptor,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
Initializes the wrapper with the specified parameters.
|
public void init(RequestInterceptor interceptor, org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
interceptor
- the root request interceptorappAttemptId
- attempt idpublic RequestInterceptor getRootInterceptor()
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.