public abstract class AbstractRESTRequestInterceptor extends Object implements RESTRequestInterceptor
Constructor and Description |
---|
AbstractRESTRequestInterceptor() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf()
Gets the
Configuration . |
RESTRequestInterceptor |
getNextInterceptor()
Gets the next
RESTRequestInterceptor in the chain. |
void |
init(String user)
Initializes the
RESTRequestInterceptor . |
void |
setConf(org.apache.hadoop.conf.Configuration conf)
Sets the
Configuration . |
void |
setNextInterceptor(RESTRequestInterceptor nextInterceptor)
Sets the
RESTRequestInterceptor in the chain. |
void |
shutdown()
Disposes the
RESTRequestInterceptor . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAppAttempt, getContainer, getContainers
addToClusterNodeLabels, cancelDelegationToken, checkUserAccessToQueue, createNewApplication, createNewReservation, deleteReservation, dumpSchedulerLogs, get, getActivities, getApp, getAppActivities, getAppAttempts, getAppPriority, getAppQueue, getApps, getAppState, getAppStatistics, getAppTimeout, getAppTimeouts, getClusterInfo, getClusterMetricsInfo, getClusterNodeLabels, getClusterUserInfo, getLabelsOnNode, getLabelsToNodes, getNode, getNodes, getNodeToLabels, getSchedulerInfo, listReservation, postDelegationToken, postDelegationTokenExpiration, removeFromCluserNodeLabels, replaceLabelsOnNode, replaceLabelsOnNodes, signalToContainer, submitApplication, submitReservation, updateApplicationPriority, updateApplicationTimeout, updateAppQueue, updateAppState, updateNodeResource, updateReservation
public void setNextInterceptor(RESTRequestInterceptor nextInterceptor)
RESTRequestInterceptor
in the chain.setNextInterceptor
in interface RESTRequestInterceptor
nextInterceptor
- the RESTRequestInterceptor 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)
RESTRequestInterceptor
.init
in interface RESTRequestInterceptor
user
- the name of the clientpublic void shutdown()
RESTRequestInterceptor
.shutdown
in interface RESTRequestInterceptor
public RESTRequestInterceptor getNextInterceptor()
RESTRequestInterceptor
in the chain.getNextInterceptor
in interface RESTRequestInterceptor
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.