+package compbio.cassandra;
+
+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() {}
+
+ public Total(long total, long totalOK, long totalStopped, long totalError, long totalTimeOut) {
+ this.total = total;
+ this.totalOK = totalOK;
+ this.totalStopped = totalStopped;
+ this.totalError = totalError;
+ this.totalTimeOut = totalTimeOut;
+ }
+
+ public void setTotal(long tot) {
+ this.total = tot;
+ }
+
+ public long getTotal() {
+ return total;
+ }
+
+ public void setTotalOK(long tot) {
+ this.totalOK = tot;
+ }
+
+ public long getTotalOK() {
+ return totalOK;
+ }
+
+ public void setTotalStopped(long tot) {
+ this.totalStopped = tot;
+ }
+
+ public long getTotalStopped() {
+ return totalStopped;
+ }
+
+ public void setTotalError(long tot) {
+ this.totalError = tot;
+ }
+
+ public long getTotalError() {
+ return totalError;
+ }
+
+ public void setTotalTimeOut(long tot) {
+ this.totalTimeOut = tot;
+ }
+
+ public long getTotalTimeOut() {
+ return totalTimeOut;
+ }
+}