@Override public synchronized JobId getJobId() { JobReportProtoOrBuilder p = viaProto ? proto : builder; if (this.jobId != null) { return this.jobId; } if (!p.hasJobId()) { return null; } this.jobId = convertFromProtoFormat(p.getJobId()); return this.jobId; }
@Override public synchronized JobState getJobState() { JobReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasJobState()) { return null; } return convertFromProtoFormat(p.getJobState()); }
private synchronized void initAMInfos() { if (this.amInfos != null) { return; } JobReportProtoOrBuilder p = viaProto ? proto : builder; List<AMInfoProto> list = p.getAmInfosList(); this.amInfos = new ArrayList<AMInfo>(); for (AMInfoProto amInfoProto : list) { this.amInfos.add(convertFromProtoFormat(amInfoProto)); } }
@Override public synchronized Priority getJobPriority() { JobReportProtoOrBuilder p = viaProto ? proto : builder; if (this.jobPriority != null) { return this.jobPriority; } if (!p.hasJobPriority()) { return null; } this.jobPriority = convertFromProtoFormat(p.getJobPriority()); return this.jobPriority; }
@Override public synchronized float getMapProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getMapProgress()); }
@Override public synchronized float getReduceProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getReduceProgress()); }
@Override public synchronized float getCleanupProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getCleanupProgress()); }
@Override public synchronized float getSetupProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getSetupProgress()); }
@Override public synchronized long getSubmitTime() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getSubmitTime()); }
@Override public synchronized long getStartTime() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getStartTime()); }
@Override public synchronized long getFinishTime() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getFinishTime()); }
@Override public synchronized String getUser() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getUser()); }