@InterfaceAudience.Private @InterfaceStability.Unstable public class AddApplicationHomeSubClusterResponsePBImpl extends AddApplicationHomeSubClusterResponse
AddApplicationHomeSubClusterResponse
.Constructor and Description |
---|
AddApplicationHomeSubClusterResponsePBImpl() |
AddApplicationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
SubClusterId |
getHomeSubCluster()
Get the home sub-cluster that this application has been assigned to.
|
org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProto |
getProto() |
int |
hashCode() |
void |
setHomeSubCluster(SubClusterId homeSubCluster)
Set the home sub-cluster that this application has been assigned to.
|
String |
toString() |
newInstance
public AddApplicationHomeSubClusterResponsePBImpl()
public AddApplicationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProto proto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.AddApplicationHomeSubClusterResponseProto getProto()
public void setHomeSubCluster(SubClusterId homeSubCluster)
AddApplicationHomeSubClusterResponse
setHomeSubCluster
in class AddApplicationHomeSubClusterResponse
homeSubCluster
- the SubClusterId
of this application's home
sub-clusterpublic SubClusterId getHomeSubCluster()
AddApplicationHomeSubClusterResponse
SubClusterId
in the corresponding response, if
the mapping for the request's application already existed.getHomeSubCluster
in class AddApplicationHomeSubClusterResponse
SubClusterId
of this application's home sub-clusterCopyright © 2008–2021 Apache Software Foundation. All rights reserved.