public interface RequestInterceptor
extends org.apache.hadoop.yarn.server.api.DistributedSchedulingAMProtocol, 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 | recover(Map<String,byte[]> recoveredDataMap)Recover intercepter state when NM recovery is enabled. | 
| 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. | 
allocateForDistributedScheduling, registerApplicationMasterForDistributedSchedulingvoid init(AMRMProxyApplicationContext ctx)
ctx - AMRMProxy application contextvoid recover(Map<String,byte[]> recoveredDataMap)
recoveredDataMap - states for all intercepters recovered from NMSSvoid shutdown()
void setNextInterceptor(RequestInterceptor nextInterceptor)
nextInterceptor - the next intercepter to setRequestInterceptor getNextInterceptor()
AMRMProxyApplicationContext getApplicationContext()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.