org.apache.hadoop.yarn.api.ApplicationMasterProtocol, org.apache.hadoop.conf.Configurable, org.apache.hadoop.yarn.server.api.DistributedSchedulingAMProtocolAbstractRequestInterceptor, DefaultRequestInterceptor, DistributedScheduler, FederationInterceptorpublic interface RequestInterceptor
extends org.apache.hadoop.yarn.server.api.DistributedSchedulingAMProtocol, org.apache.hadoop.conf.Configurable
| Modifier and Type | Method | Description |
|---|---|---|
AMRMProxyApplicationContext |
getApplicationContext() |
Returns the context.
|
RequestInterceptor |
getNextInterceptor() |
Returns the next interceptor in the chain.
|
void |
init(AMRMProxyApplicationContext ctx) |
This method is called for initializing the interceptor.
|
void |
recover(java.util.Map<java.lang.String,byte[]> recoveredDataMap) |
Recover interceptor state when NM recovery is enabled.
|
void |
setNextInterceptor(RequestInterceptor nextInterceptor) |
Sets the next interceptor in the pipeline.
|
void |
shutdown() |
This method is called to release the resources held by the interceptor.
|
void init(AMRMProxyApplicationContext ctx)
ctx - AMRMProxy application contextvoid recover(java.util.Map<java.lang.String,byte[]> recoveredDataMap)
recoveredDataMap - states for all interceptors recovered from NMSSvoid shutdown()
void setNextInterceptor(RequestInterceptor nextInterceptor)
nextInterceptor - the next interceptor to setRequestInterceptor getNextInterceptor()
AMRMProxyApplicationContext getApplicationContext()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.