@InterfaceAudience.Private @InterfaceStability.Unstable public class ApplicationHomeSubClusterPBImpl extends ApplicationHomeSubCluster
ApplicationHomeSubCluster
.Constructor and Description |
---|
ApplicationHomeSubClusterPBImpl() |
ApplicationHomeSubClusterPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ApplicationHomeSubClusterProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId()
Get the
ApplicationId representing the unique identifier of the
application. |
SubClusterId |
getHomeSubCluster()
Get the
SubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running. |
org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ApplicationHomeSubClusterProto |
getProto() |
int |
hashCode() |
void |
setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Set the
ApplicationId representing the unique identifier of the
application. |
void |
setHomeSubCluster(SubClusterId homeSubCluster)
Set the
SubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running. |
String |
toString() |
newInstance
public ApplicationHomeSubClusterPBImpl()
public ApplicationHomeSubClusterPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ApplicationHomeSubClusterProto proto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.ApplicationHomeSubClusterProto getProto()
public int hashCode()
hashCode
in class ApplicationHomeSubCluster
public boolean equals(Object other)
equals
in class ApplicationHomeSubCluster
public String toString()
toString
in class ApplicationHomeSubCluster
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
ApplicationHomeSubCluster
ApplicationId
representing the unique identifier of the
application.getApplicationId
in class ApplicationHomeSubCluster
public void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
ApplicationHomeSubCluster
ApplicationId
representing the unique identifier of the
application.setApplicationId
in class ApplicationHomeSubCluster
applicationId
- the application identifierpublic SubClusterId getHomeSubCluster()
ApplicationHomeSubCluster
SubClusterId
representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.getHomeSubCluster
in class ApplicationHomeSubCluster
public void setHomeSubCluster(SubClusterId homeSubCluster)
ApplicationHomeSubCluster
SubClusterId
representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.setHomeSubCluster
in class ApplicationHomeSubCluster
homeSubCluster
- the home subcluster identifierCopyright © 2020 Apache Software Foundation. All rights reserved.