Class GetSubClustersInfoResponse
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoResponse
- Direct Known Subclasses:
GetSubClustersInfoResponsePBImpl
Response to a query with list of
SubClusterInfo about all
sub-clusters that are currently participating in Federation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<SubClusterInfo>Get the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.static GetSubClustersInfoResponsenewInstance(Collection<SubClusterInfo> subClusters) abstract voidsetSubClusters(Collection<SubClusterInfo> subClusters) Set the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.
-
Constructor Details
-
GetSubClustersInfoResponse
public GetSubClustersInfoResponse()
-
-
Method Details
-
newInstance
@Public @Unstable public static GetSubClustersInfoResponse newInstance(Collection<SubClusterInfo> subClusters) -
getSubClusters
Get the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.- Returns:
- the list of
SubClusterInfo
-
setSubClusters
Set the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.- Parameters:
subClusters- the list ofSubClusterInfo
-