Class GetSubClusterPolicyConfigurationResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationResponse
- Direct Known Subclasses:
GetSubClusterPolicyConfigurationResponsePBImpl
GetSubClusterPolicyConfigurationResponse contains the answer from the
FederationPolicyStore to a request to get the information about how a policy
should be configured via a SubClusterPolicyConfiguration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SubClusterPolicyConfigurationGet the policy configuration.abstract voidsetPolicyConfiguration(SubClusterPolicyConfiguration policyConfiguration) Sets the policyConfiguration configuration.
-
Constructor Details
-
GetSubClusterPolicyConfigurationResponse
public GetSubClusterPolicyConfigurationResponse()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetSubClusterPolicyConfigurationResponse newInstance(SubClusterPolicyConfiguration policy) -
getPolicyConfiguration
Get the policy configuration.- Returns:
- the policy configuration for the specified queue
-
setPolicyConfiguration
@Private @Unstable public abstract void setPolicyConfiguration(SubClusterPolicyConfiguration policyConfiguration) Sets the policyConfiguration configuration.- Parameters:
policyConfiguration- the policyConfiguration configuration for the specified queue
-