fixed Execution time report
[proteocache.git] / datadb / compbio / beans / TotalExecutionTime.java
1 package compbio.beans;
2
3         /**
4          * bean is stored Total for a ExecutionTimeBean.
5          * 
6          * @param total
7          *            total number of jobs for a day
8          * @param total0_30s
9          *            number of jobs with execution time 0 - 30 s for a date
10          * @param total30_60s
11          *            number of jobs with execution time 30 - 60 s for a date
12          * @param total1_2m
13          *            number of jobs with execution time 1-2 min for a date
14          * @param total2_10m
15          *            number of jobs with execution time 2 - 10 min for a date
16          * @param total10m
17          *            number of jobs with execution time more then 10 min for a date
18          */
19         public class TotalExecutionTime {
20                 private long total;
21                 private long total0_30s;
22                 private long total30_60s;
23                 private long total1_2m;
24                 private long total2_10m;
25                 private long total10m;
26
27                 public TotalExecutionTime(long total, long total0_30s, long total30_60s, long total1_2m, long total2_10m,  long total10m) {
28                         this.total = total;
29                         this.total0_30s = total0_30s;
30                         this.total30_60s = total30_60s;
31                         this.total1_2m = total1_2m;
32                         this.total2_10m = total2_10m;
33                         this.total10m = total10m;
34                 }
35
36                 public void setTotal(long tot) {
37                         this.total = tot;
38                 }
39
40                 public long getTotal() {
41                         return total;
42                 }
43
44                 public void setTotal0_30s(long tot) {
45                         this.total0_30s = tot;
46                 }
47
48                 public long getTotal0_30s() {
49                         return total0_30s;
50                 }
51
52                 public void setTotal30_60s(long tot) {
53                         this.total30_60s = tot;
54                 }
55
56                 public long getTotal30_60s() {
57                         return total30_60s;
58                 }
59
60                 public void setTotal1_2m(long tot) {
61                         this.total1_2m = tot;
62                 }
63
64                 public long getTotal1_2m() {
65                         return total1_2m;
66                 }
67
68                 public void setTotal2_10m(long tot) {
69                         this.total2_10m = tot;
70                 }
71
72                 public long getTotal2_10m() {
73                         return total2_10m;
74                 }
75         
76                 public void setTotal10m(long tot) {
77                         this.total10m = tot;
78                 }
79
80                 public long getTotal10m() {
81                         return total10m;
82                 }
83 }