Class GetSubClusterPolicyConfigurationResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationResponse
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.GetSubClusterPolicyConfigurationResponsePBImpl
@Private
@Unstable
public class GetSubClusterPolicyConfigurationResponsePBImpl
extends GetSubClusterPolicyConfigurationResponse
Protocol buffer based implementation of
GetSubClusterPolicyConfigurationResponse.-
Constructor Summary
ConstructorsConstructorDescriptionGetSubClusterPolicyConfigurationResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPolicyConfigurationResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the policy configuration.org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPolicyConfigurationResponseProtogetProto()inthashCode()voidsetPolicyConfiguration(SubClusterPolicyConfiguration policyConfiguration) Sets the policyConfiguration configuration.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationResponse
newInstance
-
Constructor Details
-
GetSubClusterPolicyConfigurationResponsePBImpl
public GetSubClusterPolicyConfigurationResponsePBImpl() -
GetSubClusterPolicyConfigurationResponsePBImpl
public GetSubClusterPolicyConfigurationResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPolicyConfigurationResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClusterPolicyConfigurationResponseProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getPolicyConfiguration
Description copied from class:GetSubClusterPolicyConfigurationResponseGet the policy configuration.- Specified by:
getPolicyConfigurationin classGetSubClusterPolicyConfigurationResponse- Returns:
- the policy configuration for the specified queue
-
setPolicyConfiguration
Description copied from class:GetSubClusterPolicyConfigurationResponseSets the policyConfiguration configuration.- Specified by:
setPolicyConfigurationin classGetSubClusterPolicyConfigurationResponse- Parameters:
policyConfiguration- the policyConfiguration configuration for the specified queue
-