public abstract class AbstractRMAdminRequestInterceptor extends Object implements RMAdminRequestInterceptor
RMAdminRequestInterceptor
interface and provides
common functionality which can can be used and/or extended by other concrete
intercepter classes.Constructor and Description |
---|
AbstractRMAdminRequestInterceptor() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf()
Gets the
Configuration . |
RMAdminRequestInterceptor |
getNextInterceptor()
Gets the next
RMAdminRequestInterceptor in the chain. |
void |
init(String user)
Initializes the
RMAdminRequestInterceptor . |
void |
setConf(org.apache.hadoop.conf.Configuration conf)
Sets the
Configuration . |
void |
setNextInterceptor(RMAdminRequestInterceptor nextInterceptor)
Sets the
RMAdminRequestInterceptor in the chain. |
void |
shutdown()
Disposes the
RMAdminRequestInterceptor . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToClusterNodeLabels, checkForDecommissioningNodes, mapAttributesToNodes, refreshAdminAcls, refreshClusterMaxPriority, refreshNodes, refreshNodesResources, refreshQueues, refreshServiceAcls, refreshSuperUserGroupsConfiguration, refreshUserToGroupsMappings, removeFromClusterNodeLabels, replaceLabelsOnNode, updateNodeResource
public void setNextInterceptor(RMAdminRequestInterceptor nextInterceptor)
RMAdminRequestInterceptor
in the chain.setNextInterceptor
in interface RMAdminRequestInterceptor
nextInterceptor
- the RMAdminRequestInterceptor to set in the pipelinepublic void setConf(org.apache.hadoop.conf.Configuration conf)
Configuration
.setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
Configuration
.getConf
in interface org.apache.hadoop.conf.Configurable
public void init(String user)
RMAdminRequestInterceptor
.init
in interface RMAdminRequestInterceptor
user
- the name of the clientpublic void shutdown()
RMAdminRequestInterceptor
.shutdown
in interface RMAdminRequestInterceptor
public RMAdminRequestInterceptor getNextInterceptor()
RMAdminRequestInterceptor
in the chain.getNextInterceptor
in interface RMAdminRequestInterceptor
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.