Class SubClusterRegisterRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.SubClusterRegisterRequest
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.SubClusterRegisterRequestPBImpl
Protocol buffer based implementation of
SubClusterRegisterRequest.-
Constructor Summary
ConstructorsConstructorDescriptionSubClusterRegisterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterRegisterRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterRegisterRequestProtogetProto()Get theSubClusterInfoencapsulating the information about the sub-cluster.inthashCode()voidsetSubClusterInfo(SubClusterInfo subClusterInfo) Set theSubClusterInfoencapsulating the information about the sub-cluster.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.SubClusterRegisterRequest
newInstance
-
Constructor Details
-
SubClusterRegisterRequestPBImpl
public SubClusterRegisterRequestPBImpl() -
SubClusterRegisterRequestPBImpl
public SubClusterRegisterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterRegisterRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterRegisterRequestProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getSubClusterInfo
Description copied from class:SubClusterRegisterRequestGet theSubClusterInfoencapsulating the information about the sub-cluster.- Specified by:
getSubClusterInfoin classSubClusterRegisterRequest- Returns:
- the information pertaining to the sub-cluster
-
setSubClusterInfo
Description copied from class:SubClusterRegisterRequestSet theSubClusterInfoencapsulating the information about the sub-cluster.- Specified by:
setSubClusterInfoin classSubClusterRegisterRequest- Parameters:
subClusterInfo- the information pertaining to the sub-cluster
-