-package compbio.cassandra;
+package compbio.beans;
+/**
+ * bean is stored Total for a TotalJobsStatisticBean.
+ *
+ * @param total
+ * total number of jobs for a day
+ * @param totalOK
+ * number of jobs with execution status OK for a date
+ * @param totalStopped
+ * number of jobs with execution status STOPPED for a date
+ * @param totalError
+ * number of jobs with execution status Jpred ERROR for a date
+ * @param totalTimeOut
+ * number of jobs with execution status TIMEDOUT for a date
+ */
public class Total {
- private long total; // total number of jobs
- private long totalOK; // number of jobs with execution status OK
- private long totalStopped; // number of jobs with execution status STOPPED
- private long totalError; // number of jobs with execution status Jpred ERROR
- private long totalTimeOut; // number of jobs with execution status TIMEOUT
-
- public Total() {}
-
+ private long total;
+ private long totalOK;
+ private long totalStopped;
+ private long totalError;
+ private long totalTimeOut;
+
public Total(long total, long totalOK, long totalStopped, long totalError, long totalTimeOut) {
this.total = total;
this.totalOK = totalOK;