@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() |
newInstancepublic 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 ApplicationHomeSubClusterpublic boolean equals(Object other)
equals in class ApplicationHomeSubClusterpublic String toString()
toString in class ApplicationHomeSubClusterpublic org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
ApplicationHomeSubClusterApplicationId representing the unique identifier of the
application.getApplicationId in class ApplicationHomeSubClusterpublic void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
ApplicationHomeSubClusterApplicationId representing the unique identifier of the
application.setApplicationId in class ApplicationHomeSubClusterapplicationId - the application identifierpublic SubClusterId getHomeSubCluster()
ApplicationHomeSubClusterSubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.getHomeSubCluster in class ApplicationHomeSubClusterpublic void setHomeSubCluster(SubClusterId homeSubCluster)
ApplicationHomeSubClusterSubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.setHomeSubCluster in class ApplicationHomeSubClusterhomeSubCluster - the home subcluster identifierCopyright © 2008–2023 Apache Software Foundation. All rights reserved.