75cef1fc4359612940573ff4d79bb22b8113ef92
[proteocache.git] / datadb / compbio / cassandra / Total.java
1 package compbio.cassandra;
2
3 public class Total {
4         private long total;                                     // total number of jobs
5         private long totalOK;                           // number of jobs with execution status OK
6         private long totalStopped;                       // number of jobs with execution status STOPPED
7         private long totalError;                                // number of jobs with execution status Jpred ERROR
8         private long totalTimeOut;                      // number of jobs with execution status TIMEOUT
9         
10         public Total() {}
11         
12         public Total(long total, long totalOK, long totalStopped, long totalError, long totalTimeOut) {
13                 this.total = total;
14                 this.totalOK = totalOK;
15                 this.totalStopped = totalStopped;
16                 this.totalError = totalError;
17                 this.totalTimeOut = totalTimeOut;
18         }
19         
20         public void setTotal(long tot) {
21                 this.total = tot;
22         }
23
24         public long getTotal() {
25                 return total;
26         }
27
28         public void setTotalOK(long tot) {
29                 this.totalOK = tot;
30         }
31
32         public long getTotalOK() {
33                 return totalOK;
34         }
35
36         public void setTotalStopped(long tot) {
37                 this.totalStopped = tot;
38         }
39
40         public long getTotalStopped() {
41                 return totalStopped;
42         }
43
44         public void setTotalError(long tot) {
45                 this.totalError = tot;
46         }
47
48         public long getTotalError() {
49                 return totalError;
50         }
51
52         public void setTotalTimeOut(long tot) {
53                 this.totalTimeOut = tot;
54         }
55
56         public long getTotalTimeOut() {
57                 return totalTimeOut;
58         }
59 }