Class GetSubClusterPolicyConfigurationRequest
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClusterPolicyConfigurationRequest
- Direct Known Subclasses:
GetSubClusterPolicyConfigurationRequestPBImpl
GetSubClusterPolicyConfigurationRequest is a request to the
FederationPolicyStore to get the configuration of a policy for a
given queue.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetQueue()Get the name of the queue for which we are requesting a policy configuration.newInstance(String queueName) abstract voidSets the name of the queue for which we are requesting a policy configuration.
-
Constructor Details
-
GetSubClusterPolicyConfigurationRequest
public GetSubClusterPolicyConfigurationRequest()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetSubClusterPolicyConfigurationRequest newInstance(String queueName) -
getQueue
Get the name of the queue for which we are requesting a policy configuration.- Returns:
- the name of the queue
-
setQueue
Sets the name of the queue for which we are requesting a policy configuration.- Parameters:
queueName- the name of the queue
-