public class HashBroadcastPolicyManager extends AbstractPolicyManager
HashBasedRouterPolicy for the router
and a BroadcastAMRMProxyPolicy for the amrmproxy as they are designed
to work together.amrmProxyFederationPolicy, LOG, routerFederationPolicy| Constructor and Description |
|---|
HashBroadcastPolicyManager() |
| 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, setQueuepublic WeightedPolicyInfo getWeightedPolicyInfo()
AbstractPolicyManagergetWeightedPolicyInfo in interface FederationPolicyManagergetWeightedPolicyInfo in class AbstractPolicyManagerpublic void setWeightedPolicyInfo(WeightedPolicyInfo weightedPolicyInfo)
AbstractPolicyManagersetWeightedPolicyInfo in interface FederationPolicyManagersetWeightedPolicyInfo in class AbstractPolicyManagerweightedPolicyInfo - weightedPolicyInfo of the subCluster.public boolean isSupportWeightedPolicyInfo()
FederationPolicyManagerCopyright © 2008–2024 Apache Software Foundation. All rights reserved.