Class GetSubClusterPoliciesConfigurationsResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPoliciesConfigurationsResponse
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.GetSubClusterPoliciesConfigurationsResponsePBImpl
@Private
@Unstable
public class GetSubClusterPoliciesConfigurationsResponsePBImpl
extends GetSubClusterPoliciesConfigurationsResponse
Protocol buffer based implementation of
GetSubClusterPoliciesConfigurationsResponse.-
Constructor Summary
ConstructorsConstructorDescriptionGetSubClusterPoliciesConfigurationsResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPoliciesConfigurationsResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet all the policies configured in the system.org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPoliciesConfigurationsResponseProtogetProto()inthashCode()voidsetPoliciesConfigs(List<SubClusterPolicyConfiguration> policyConfigurations) Sets all the policies configured in the system.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPoliciesConfigurationsResponse
newInstance
-
Constructor Details
-
GetSubClusterPoliciesConfigurationsResponsePBImpl
public GetSubClusterPoliciesConfigurationsResponsePBImpl() -
GetSubClusterPoliciesConfigurationsResponsePBImpl
public GetSubClusterPoliciesConfigurationsResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPoliciesConfigurationsResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPoliciesConfigurationsResponseProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getPoliciesConfigs
Description copied from class:GetSubClusterPoliciesConfigurationsResponseGet all the policies configured in the system.- Specified by:
getPoliciesConfigsin classGetSubClusterPoliciesConfigurationsResponse- Returns:
- all the policies configured in the system
-
setPoliciesConfigs
Description copied from class:GetSubClusterPoliciesConfigurationsResponseSets all the policies configured in the system.- Specified by:
setPoliciesConfigsin classGetSubClusterPoliciesConfigurationsResponse- Parameters:
policyConfigurations- all the policies configured in the system
-