Class RouterClientRMService.RequestInterceptorChainWrapper

java.lang.Object
org.apache.hadoop.yarn.server.router.clientrm.RouterClientRMService.RequestInterceptorChainWrapper
Enclosing class:
RouterClientRMService

@Private public static class RouterClientRMService.RequestInterceptorChainWrapper extends Object
Private structure for encapsulating RequestInterceptor and user instances.
  • Constructor Details

    • RequestInterceptorChainWrapper

      public RequestInterceptorChainWrapper()
  • Method Details

    • init

      public void init(ClientRequestInterceptor interceptor)
      Initializes the wrapper with the specified parameters.
      Parameters:
      interceptor - the first interceptor in the pipeline
    • getRootInterceptor

      public ClientRequestInterceptor getRootInterceptor()
      Gets the root request interceptor.
      Returns:
      the root request interceptor
    • finalize

      protected void finalize()
      Shutdown the chain of interceptors when the object is destroyed.
      Overrides:
      finalize in class Object