Class GetSubClustersInfoRequest
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoRequest
- Direct Known Subclasses:
GetSubClustersInfoRequestPBImpl
Request class to obtain information about all sub-clusters that are
participating in federation.
If filterInactiveSubClusters is set to true, only active sub-clusters will be
returned; otherwise, all sub-clusters will be returned regardless of state.
By default, filterInactiveSubClusters is true.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanGet the flag that indicates whether only active sub-clusters should be returned.static GetSubClustersInfoRequestnewInstance(boolean filterInactiveSubClusters) abstract voidsetFilterInactiveSubClusters(boolean filterInactiveSubClusters) Set the flag that indicates whether only active sub-clusters should be returned.
-
Constructor Details
-
GetSubClustersInfoRequest
public GetSubClustersInfoRequest()
-
-
Method Details
-
newInstance
@Public @Unstable public static GetSubClustersInfoRequest newInstance(boolean filterInactiveSubClusters) -
getFilterInactiveSubClusters
@Public @Unstable public abstract boolean getFilterInactiveSubClusters()Get the flag that indicates whether only active sub-clusters should be returned.- Returns:
- whether to filter out inactive sub-clusters
-
setFilterInactiveSubClusters
@Public @Unstable public abstract void setFilterInactiveSubClusters(boolean filterInactiveSubClusters) Set the flag that indicates whether only active sub-clusters should be returned.- Parameters:
filterInactiveSubClusters- whether to filter out inactive sub-clusters
-