@InterfaceAudience.Private
 @InterfaceStability.Unstable
public interface FederationPolicyStore
SubClusterPolicyConfiguration, a serialized
 representation of the policy type and its parameters.| Modifier and Type | Method and Description | 
|---|---|
| GetSubClusterPoliciesConfigurationsResponse | getPoliciesConfigurations(GetSubClusterPoliciesConfigurationsRequest request)Get a map of all queue-to-policy configurations. | 
| GetSubClusterPolicyConfigurationResponse | getPolicyConfiguration(GetSubClusterPolicyConfigurationRequest request)Get the policy configuration for a given queue. | 
| SetSubClusterPolicyConfigurationResponse | setPolicyConfiguration(SetSubClusterPolicyConfigurationRequest request)Set the policy configuration for a given queue. | 
GetSubClusterPolicyConfigurationResponse getPolicyConfiguration(GetSubClusterPolicyConfigurationRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
request - the queue whose SubClusterPolicyConfiguration is
          requiredSubClusterPolicyConfiguration for the specified queue,
         or null if there is no mapping for the queueorg.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsSetSubClusterPolicyConfigurationResponse setPolicyConfiguration(SetSubClusterPolicyConfigurationRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
request - the SubClusterPolicyConfiguration with the
          corresponding queueSubClusterPolicyConfiguration for the specified queueorg.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsGetSubClusterPoliciesConfigurationsResponse getPoliciesConfigurations(GetSubClusterPoliciesConfigurationsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException
request - empty to represent all configured queues in the systemorg.apache.hadoop.yarn.exceptions.YarnException - if the request is invalid/failsCopyright © 2008–2023 Apache Software Foundation. All rights reserved.