Class AMRMProxyService.RequestInterceptorChainWrapper

java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.amrmproxy.AMRMProxyService.RequestInterceptorChainWrapper
Enclosing class:
AMRMProxyService

@Private public static class AMRMProxyService.RequestInterceptorChainWrapper extends Object
Private structure for encapsulating RequestInterceptor and ApplicationAttemptId instances.
  • 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 interceptor
      appAttemptId - attempt id
    • getRootInterceptor

      public RequestInterceptor 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