public interface RequestInterceptor
extends org.apache.hadoop.yarn.api.ApplicationMasterProtocol, org.apache.hadoop.conf.Configurable
Modifier and Type | Method and Description |
---|---|
AMRMProxyApplicationContext |
getApplicationContext()
Returns the context.
|
RequestInterceptor |
getNextInterceptor()
Returns the next intercepter in the chain.
|
void |
init(AMRMProxyApplicationContext ctx)
This method is called for initializing the intercepter.
|
void |
setNextInterceptor(RequestInterceptor nextInterceptor)
Sets the next intercepter in the pipeline.
|
void |
shutdown()
This method is called to release the resources held by the intercepter.
|
void init(AMRMProxyApplicationContext ctx)
ctx
- void shutdown()
void setNextInterceptor(RequestInterceptor nextInterceptor)
nextInterceptor
- RequestInterceptor getNextInterceptor()
AMRMProxyApplicationContext getApplicationContext()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.