## Uses of Interface
org.apache.hadoop.yarn.server.nodemanager.amrmproxy.RequestInterceptor

- Packages that use RequestInterceptor
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.server.nodemanager.amrmproxy |
  org.apache.hadoop.yarn.server.nodemanager.scheduler |

- - ### Uses of RequestInterceptor in org.apache.hadoop.yarn.server.nodemanager.amrmproxy

    Classes in org.apache.hadoop.yarn.server.nodemanager.amrmproxy that implement RequestInterceptor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractRequestInterceptor` Implements the RequestInterceptor interface and provides common functionality which can can be used and/or extended by other concrete intercepter classes.
    `class` | `DefaultRequestInterceptor` Extends the AbstractRequestInterceptor class and provides an implementation that simply forwards the AM requests to the cluster resource manager.
    `class` | `FederationInterceptor` Extends the AbstractRequestInterceptor and provides an implementation for federation of YARN RM and scaling an application across multiple YARN sub-clusters.

    Methods in org.apache.hadoop.yarn.server.nodemanager.amrmproxy that return RequestInterceptor
    Modifier and Type | Method and Description
    --- | ---
    `protected RequestInterceptor` | AMRMProxyService.`createRequestInterceptorChain()` This method creates and returns reference of the first intercepter in the chain of request intercepter instances.
    `RequestInterceptor` | AbstractRequestInterceptor.`getNextInterceptor()` Gets the next `RequestInterceptor` in the chain.
    `RequestInterceptor` | RequestInterceptor.`getNextInterceptor()` Returns the next intercepter in the chain.
    `RequestInterceptor` | AMRMProxyService.RequestInterceptorChainWrapper.`getRootInterceptor()` Gets the root request intercepter.

    Methods in org.apache.hadoop.yarn.server.nodemanager.amrmproxy with parameters of type RequestInterceptor
    Modifier and Type | Method and Description
    --- | ---
    `void` | AMRMProxyService.RequestInterceptorChainWrapper.`init(RequestInterceptor rootInterceptor, org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)` Initializes the wrapper with the specified parameters.
    `void` | AbstractRequestInterceptor.`setNextInterceptor(RequestInterceptor nextInterceptor)` Sets the `RequestInterceptor` in the chain.
    `void` | FederationInterceptor.`setNextInterceptor(RequestInterceptor next)`
    `void` | DefaultRequestInterceptor.`setNextInterceptor(RequestInterceptor next)`
    `void` | RequestInterceptor.`setNextInterceptor(RequestInterceptor nextInterceptor)` Sets the next intercepter in the pipeline.

  - ### Uses of RequestInterceptor in org.apache.hadoop.yarn.server.nodemanager.scheduler

    Classes in org.apache.hadoop.yarn.server.nodemanager.scheduler that implement RequestInterceptor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DistributedScheduler` The DistributedScheduler runs on the NodeManager and is modeled as an `AMRMProxy` request interceptor.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.