Class GetApplicationsHomeSubClusterRequest
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetApplicationsHomeSubClusterRequest
- Direct Known Subclasses:
GetApplicationsHomeSubClusterRequestPBImpl
Request class to obtain the home sub-cluster mapping of all active
applications.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SubClusterIdGet theSubClusterIdrepresenting the unique identifier of the subcluster.newInstance(SubClusterId subClusterId) abstract voidsetSubClusterId(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the subcluster.
-
Constructor Details
-
GetApplicationsHomeSubClusterRequest
public GetApplicationsHomeSubClusterRequest()
-
-
Method Details
-
newInstance
-
newInstance
@Private @Unstable public static GetApplicationsHomeSubClusterRequest newInstance(SubClusterId subClusterId) -
getSubClusterId
Get theSubClusterIdrepresenting the unique identifier of the subcluster.- Returns:
- the subcluster identifier
-
setSubClusterId
Set theSubClusterIdrepresenting the unique identifier of the subcluster.- Parameters:
subClusterId- the subcluster identifier
-