Class GetSubClustersInfoRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoRequest
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.GetSubClustersInfoRequestPBImpl
Protocol buffer based implementation of
GetSubClustersInfoRequest.-
Constructor Summary
ConstructorsConstructorDescriptionGetSubClustersInfoRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanGet the flag that indicates whether only active sub-clusters should be returned.org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoRequestProtogetProto()inthashCode()voidsetFilterInactiveSubClusters(boolean filterInactiveSubClusters) Set the flag that indicates whether only active sub-clusters should be returned.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoRequest
newInstance
-
Constructor Details
-
GetSubClustersInfoRequestPBImpl
public GetSubClustersInfoRequestPBImpl() -
GetSubClustersInfoRequestPBImpl
public GetSubClustersInfoRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoRequestProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getFilterInactiveSubClusters
public boolean getFilterInactiveSubClusters()Description copied from class:GetSubClustersInfoRequestGet the flag that indicates whether only active sub-clusters should be returned.- Specified by:
getFilterInactiveSubClustersin classGetSubClustersInfoRequest- Returns:
- whether to filter out inactive sub-clusters
-
setFilterInactiveSubClusters
public void setFilterInactiveSubClusters(boolean filterInactiveSubClusters) Description copied from class:GetSubClustersInfoRequestSet the flag that indicates whether only active sub-clusters should be returned.- Specified by:
setFilterInactiveSubClustersin classGetSubClustersInfoRequest- Parameters:
filterInactiveSubClusters- whether to filter out inactive sub-clusters
-