Class GetApplicationsHomeSubClusterResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetApplicationsHomeSubClusterResponse
- Direct Known Subclasses:
GetApplicationsHomeSubClusterResponsePBImpl
The response sent by Federation state
store to a query for the home subcluster of all submitted
applications.
The response includes the mapping details, i.e.:
ApplicationIdSubClusterId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ApplicationHomeSubCluster>Get theApplicationHomeSubClusterlist representing the mapping of all submitted applications to it's home sub-cluster.newInstance(List<ApplicationHomeSubCluster> appsHomeSubClusters) abstract voidsetAppsHomeSubClusters(List<ApplicationHomeSubCluster> appsHomeSubClusters) Set theApplicationHomeSubClusterlist representing the mapping of all submitted applications to it's home sub-cluster.
-
Constructor Details
-
GetApplicationsHomeSubClusterResponse
public GetApplicationsHomeSubClusterResponse()
-
-
Method Details
-
newInstance
@Private @Unstable public static GetApplicationsHomeSubClusterResponse newInstance(List<ApplicationHomeSubCluster> appsHomeSubClusters) -
getAppsHomeSubClusters
Get theApplicationHomeSubClusterlist representing the mapping of all submitted applications to it's home sub-cluster.- Returns:
- the mapping of all submitted application to it's home sub-cluster.
-
setAppsHomeSubClusters
@Private @Unstable public abstract void setAppsHomeSubClusters(List<ApplicationHomeSubCluster> appsHomeSubClusters) Set theApplicationHomeSubClusterlist representing the mapping of all submitted applications to it's home sub-cluster.- Parameters:
appsHomeSubClusters- the mapping of all submitted application to it's home sub-cluster.
-