@Override public synchronized ApplicationAttemptId getAppAttemptId() { AMInfoProtoOrBuilder p = viaProto ? proto : builder; if (appAttemptId != null) { return appAttemptId; } // Else via proto if (!p.hasApplicationAttemptId()) { return null; } appAttemptId = convertFromProtoFormat(p.getApplicationAttemptId()); return appAttemptId; }
@Override public synchronized ContainerId getContainerId() { AMInfoProtoOrBuilder p = viaProto ? proto : builder; if (containerId != null) { return containerId; } // Else via proto if (!p.hasContainerId()) { return null; } containerId = convertFromProtoFormat(p.getContainerId()); return containerId; }
@Override public synchronized String getNodeManagerHost() { AMInfoProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasNodeManagerHost()) { return null; } return p.getNodeManagerHost(); }
@Override public synchronized long getStartTime() { AMInfoProtoOrBuilder p = viaProto ? proto : builder; return (p.getStartTime()); }
@Override public synchronized int getNodeManagerPort() { AMInfoProtoOrBuilder p = viaProto ? proto : builder; return (p.getNodeManagerPort()); }
@Override public synchronized int getNodeManagerHttpPort() { AMInfoProtoOrBuilder p = viaProto ? proto : builder; return p.getNodeManagerHttpPort(); }