public class ApplicationAttemptStartDataPBImpl extends ApplicationAttemptStartData
Constructor and Description |
---|
ApplicationAttemptStartDataPBImpl() |
ApplicationAttemptStartDataPBImpl(org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationAttemptStartDataProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId() |
String |
getHost() |
org.apache.hadoop.yarn.api.records.ContainerId |
getMasterContainerId() |
org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationAttemptStartDataProto |
getProto() |
int |
getRPCPort() |
int |
hashCode() |
void |
setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId) |
void |
setHost(String host) |
void |
setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId) |
void |
setRPCPort(int rpcPort) |
String |
toString() |
newInstance
public ApplicationAttemptStartDataPBImpl()
public ApplicationAttemptStartDataPBImpl(org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationAttemptStartDataProto proto)
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
getApplicationAttemptId
in class ApplicationAttemptStartData
public void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
setApplicationAttemptId
in class ApplicationAttemptStartData
public String getHost()
getHost
in class ApplicationAttemptStartData
public void setHost(String host)
setHost
in class ApplicationAttemptStartData
public int getRPCPort()
getRPCPort
in class ApplicationAttemptStartData
public void setRPCPort(int rpcPort)
setRPCPort
in class ApplicationAttemptStartData
public org.apache.hadoop.yarn.api.records.ContainerId getMasterContainerId()
getMasterContainerId
in class ApplicationAttemptStartData
public void setMasterContainerId(org.apache.hadoop.yarn.api.records.ContainerId masterContainerId)
setMasterContainerId
in class ApplicationAttemptStartData
public org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationAttemptStartDataProto getProto()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.