Class RouterRMAdminService.RequestInterceptorChainWrapper

java.lang.Object
org.apache.hadoop.yarn.server.router.rmadmin.RouterRMAdminService.RequestInterceptorChainWrapper
Enclosing class:
RouterRMAdminService

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

    • RequestInterceptorChainWrapper

      public RequestInterceptorChainWrapper()
  • Method Details

    • init

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

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