Class GetSubClustersInfoResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoResponse
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.GetSubClustersInfoResponsePBImpl
Protocol buffer based implementation of
GetSubClustersInfoResponse.-
Constructor Summary
ConstructorsConstructorDescriptionGetSubClustersInfoResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoResponseProtogetProto()Get the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.inthashCode()voidsetSubClusters(Collection<SubClusterInfo> subClusters) Set the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.GetSubClustersInfoResponse
newInstance
-
Constructor Details
-
GetSubClustersInfoResponsePBImpl
public GetSubClustersInfoResponsePBImpl() -
GetSubClustersInfoResponsePBImpl
public GetSubClustersInfoResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetSubClustersInfoResponseProto getProto() -
getSubClusters
Description copied from class:GetSubClustersInfoResponseGet the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.- Specified by:
getSubClustersin classGetSubClustersInfoResponse- Returns:
- the list of
SubClusterInfo
-
setSubClusters
Description copied from class:GetSubClustersInfoResponseSet the list ofSubClusterInforepresenting the information about all sub-clusters that are currently participating in Federation.- Specified by:
setSubClustersin classGetSubClustersInfoResponse- Parameters:
subClusters- the list ofSubClusterInfo
-
hashCode
public int hashCode() -
equals
-
toString
-