@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. |
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext |
getApplicationSubmissionContext()
Get Application Submission Context.
|
long |
getCreateTime()
Get the create time of the subcluster.
|
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 |
setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)
Set Application Submission Context.
|
void |
setCreateTime(long time)
Set the create time of the subcluster.
|
void |
setHomeSubCluster(SubClusterId paramHomeSubCluster)
Set the
SubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running. |
String |
toString() |
newInstance, newInstance, newInstance, 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 paramHomeSubCluster)
ApplicationHomeSubClusterSubClusterId representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.setHomeSubCluster in class ApplicationHomeSubClusterparamHomeSubCluster - the home subcluster identifierpublic long getCreateTime()
ApplicationHomeSubClustergetCreateTime in class ApplicationHomeSubClusterpublic void setCreateTime(long time)
ApplicationHomeSubClustersetCreateTime in class ApplicationHomeSubClustertime - the last heartbeat time of the subclusterpublic void setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)
ApplicationHomeSubClustersetApplicationSubmissionContext in class ApplicationHomeSubClustercontext - Application Submission Context.public org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
ApplicationHomeSubClustergetApplicationSubmissionContext in class ApplicationHomeSubClusterCopyright © 2008–2024 Apache Software Foundation. All rights reserved.