Class GetSubClusterPoliciesConfigurationsResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPoliciesConfigurationsResponse
- Direct Known Subclasses:
GetSubClusterPoliciesConfigurationsResponsePBImpl
GetSubClusterPolicyConfigurationResponse contains the answer from the
FederationPolicyStore to a request to get all the policies configured in the
system via a SubClusterPolicyConfiguration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<SubClusterPolicyConfiguration>Get all the policies configured in the system.newInstance(List<SubClusterPolicyConfiguration> policyConfigurations) abstract voidsetPoliciesConfigs(List<SubClusterPolicyConfiguration> policyConfigurations) Sets all the policies configured in the system.
-
Constructor Details
-
GetSubClusterPoliciesConfigurationsResponse
public GetSubClusterPoliciesConfigurationsResponse()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetSubClusterPoliciesConfigurationsResponse newInstance(List<SubClusterPolicyConfiguration> policyConfigurations) -
getPoliciesConfigs
Get all the policies configured in the system.- Returns:
- all the policies configured in the system
-
setPoliciesConfigs
@Private @Unstable public abstract void setPoliciesConfigs(List<SubClusterPolicyConfiguration> policyConfigurations) Sets all the policies configured in the system.- Parameters:
policyConfigurations- all the policies configured in the system
-