Examples of JobHealthStatus


Examples of org.apache.oodt.pcs.health.JobHealthStatus

        int numPipelines = this.wm.safeGetNumWorkflowInstancesByStatus(state);
        if (numPipelines == -1) {
          numPipelines = 0;
        }

        JobHealthStatus jobStatus = new JobHealthStatus();
        jobStatus.setStatus(state);
        jobStatus.setNumPipelines(numPipelines);
        statuses.add(jobStatus);
      }
    }

    return statuses;
View Full Code Here

Examples of org.apache.oodt.pcs.health.JobHealthStatus

  private void printJobStatusHealth(PCSHealthMonitorReport report) {
    if (report.getJobHealthStatus() != null
        && report.getJobHealthStatus().size() > 0) {
      for (Iterator i = report.getJobHealthStatus().iterator(); i.hasNext();) {
        JobHealthStatus status = (JobHealthStatus) i.next();
        System.out.println(status.getNumPipelines() + " pipelines "
            + status.getStatus());
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.