@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, 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 paramHomeSubCluster)
ApplicationHomeSubCluster
SubClusterId
representing the unique identifier of the home
subcluster in which the ApplicationMaster of the application is running.setHomeSubCluster
in class ApplicationHomeSubCluster
paramHomeSubCluster
- the home subcluster identifierpublic long getCreateTime()
ApplicationHomeSubCluster
getCreateTime
in class ApplicationHomeSubCluster
public void setCreateTime(long time)
ApplicationHomeSubCluster
setCreateTime
in class ApplicationHomeSubCluster
time
- the last heartbeat time of the subclusterpublic void setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)
ApplicationHomeSubCluster
setApplicationSubmissionContext
in class ApplicationHomeSubCluster
context
- Application Submission Context.public org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
ApplicationHomeSubCluster
getApplicationSubmissionContext
in class ApplicationHomeSubCluster
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.