Class AddApplicationHomeSubClusterResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.AddApplicationHomeSubClusterResponse
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.AddApplicationHomeSubClusterResponsePBImpl
@Private
@Unstable
public class AddApplicationHomeSubClusterResponsePBImpl
extends AddApplicationHomeSubClusterResponse
Protocol buffer based implementation of
AddApplicationHomeSubClusterResponse.-
Constructor Summary
ConstructorsConstructorDescriptionAddApplicationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the home sub-cluster that this application has been assigned to.org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProtogetProto()inthashCode()voidsetHomeSubCluster(SubClusterId homeSubCluster) Set the home sub-cluster that this application has been assigned to.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.AddApplicationHomeSubClusterResponse
newInstance
-
Constructor Details
-
AddApplicationHomeSubClusterResponsePBImpl
public AddApplicationHomeSubClusterResponsePBImpl() -
AddApplicationHomeSubClusterResponsePBImpl
public AddApplicationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProto getProto() -
setHomeSubCluster
Description copied from class:AddApplicationHomeSubClusterResponseSet the home sub-cluster that this application has been assigned to.- Specified by:
setHomeSubClusterin classAddApplicationHomeSubClusterResponse- Parameters:
homeSubCluster- theSubClusterIdof this application's home sub-cluster
-
getHomeSubCluster
Description copied from class:AddApplicationHomeSubClusterResponseGet the home sub-cluster that this application has been assigned to. This may not match theSubClusterIdin the corresponding response, if the mapping for the request's application already existed.- Specified by:
getHomeSubClusterin classAddApplicationHomeSubClusterResponse- Returns:
- the
SubClusterIdof this application's home sub-cluster
-
hashCode
public int hashCode() -
equals
-
toString
-