public class RejectAllPolicyManager extends AbstractPolicyManager
FederationPolicyManager
.
This policy rejects all requests for both router and amrmproxy routing. This
is to be used to prevent applications in a specific queue (or if used as
default for non-configured queues) from accessing cluster resources.amrmProxyFederationPolicy, LOG, routerFederationPolicy
Constructor and Description |
---|
RejectAllPolicyManager() |
Modifier and Type | Method and Description |
---|---|
WeightedPolicyInfo |
getWeightedPolicyInfo()
We get the WeightedPolicyInfo of the subCluster.
|
boolean |
isSupportWeightedPolicyInfo()
PolicyManager Whether to support WeightedPolicyInfo.
|
void |
setWeightedPolicyInfo(WeightedPolicyInfo weightedPolicyInfo)
We set the WeightedPolicyInfo of the subCluster.
|
getAMRMPolicy, getQueue, getRouterPolicy, serializeConf, setQueue
public WeightedPolicyInfo getWeightedPolicyInfo()
AbstractPolicyManager
getWeightedPolicyInfo
in interface FederationPolicyManager
getWeightedPolicyInfo
in class AbstractPolicyManager
public void setWeightedPolicyInfo(WeightedPolicyInfo weightedPolicyInfo)
AbstractPolicyManager
setWeightedPolicyInfo
in interface FederationPolicyManager
setWeightedPolicyInfo
in class AbstractPolicyManager
weightedPolicyInfo
- weightedPolicyInfo of the subCluster.public boolean isSupportWeightedPolicyInfo()
FederationPolicyManager
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.