Class RouterRMAdminService.RequestInterceptorChainWrapper
java.lang.Object
org.apache.hadoop.yarn.server.router.rmadmin.RouterRMAdminService.RequestInterceptorChainWrapper
- Enclosing class:
- RouterRMAdminService
Private structure for encapsulating RequestInterceptor and user instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinalize()Shutdown the chain of interceptors when the object is destroyed.Gets the root request interceptor.voidinit(RMAdminRequestInterceptor interceptor) Initializes the wrapper with the specified parameters.
-
Constructor Details
-
RequestInterceptorChainWrapper
public RequestInterceptorChainWrapper()
-
-
Method Details
-
init
Initializes the wrapper with the specified parameters.- Parameters:
interceptor- the first interceptor in the pipeline
-
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.
-