public class PriorityBroadcastPolicyManager extends AbstractPolicyManager
PriorityRouterPolicy
for the router and a
BroadcastAMRMProxyPolicy
for the amrmproxy as they are designed to
work together.amrmProxyFederationPolicy, LOG, routerFederationPolicy
Constructor and Description |
---|
PriorityBroadcastPolicyManager() |
Modifier and Type | Method and Description |
---|---|
WeightedPolicyInfo |
getWeightedPolicyInfo() |
SubClusterPolicyConfiguration |
serializeConf()
This method is invoked to derive a
SubClusterPolicyConfiguration . |
void |
setWeightedPolicyInfo(WeightedPolicyInfo weightedPolicyInfo) |
getAMRMPolicy, getQueue, getRouterPolicy, setQueue
public SubClusterPolicyConfiguration serializeConf() throws FederationPolicyInitializationException
FederationPolicyManager
SubClusterPolicyConfiguration
.
This is to be used when writing a policy object in the federation policy
store.serializeConf
in interface FederationPolicyManager
serializeConf
in class AbstractPolicyManager
FederationPolicyInitializationException
- if the current state cannot
be serialized properlypublic WeightedPolicyInfo getWeightedPolicyInfo()
public void setWeightedPolicyInfo(WeightedPolicyInfo weightedPolicyInfo)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.