Class AMRMProxyService.RequestInterceptorChainWrapper
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.amrmproxy.AMRMProxyService.RequestInterceptorChainWrapper
- Enclosing class:
- AMRMProxyService
Private structure for encapsulating RequestInterceptor and
ApplicationAttemptId instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ApplicationAttemptIdGets the application attempt identifier.org.apache.hadoop.yarn.api.records.ApplicationIdGets the application identifier.Gets the root request interceptor.voidinit(RequestInterceptor interceptor, org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) Initializes the wrapper with the specified parameters.
-
Constructor Details
-
RequestInterceptorChainWrapper
public RequestInterceptorChainWrapper()
-
-
Method Details
-
init
public void init(RequestInterceptor interceptor, org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) Initializes the wrapper with the specified parameters.- Parameters:
interceptor- the root request interceptorappAttemptId- attempt id
-
getRootInterceptor
Gets the root request interceptor.- Returns:
- the root request interceptor
-
getApplicationAttemptId
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()Gets the application attempt identifier.- Returns:
- the application attempt identifier
-
getApplicationId
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()Gets the application identifier.- Returns:
- the application identifier
-