List of usage examples for org.apache.hadoop.yarn.api.records.impl.pb ApplicationReportPBImpl setStartTime
@Override public void setStartTime(long startTime)
From source file:org.apache.slider.common.tools.TestSliderUtils.java
License:Apache License
private ApplicationReportPBImpl getApplicationReport(long startTime, long finishTime, String name, YarnApplicationState state) {//from w w w. j a v a2 s . c o m ApplicationReportPBImpl ar = new ApplicationReportPBImpl(); ar.setFinishTime(finishTime); ar.setStartTime(startTime); ar.setApplicationType(name); ar.setYarnApplicationState(state); return ar; }