fix query log info, jobs by counter
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
index 016a30a..91eabf0 100644 (file)
@@ -7,6 +7,7 @@ import java.util.Collections;
 public class DataBase {
        private String date;
        private int total;
+       private int totalJobs;
        private int totalId;
        private String id;
        private String prot;
@@ -14,6 +15,7 @@ public class DataBase {
        private List<String> subProt;
        private List<Integer> timeRez;
        private List<Integer> timeTotalExec;
+       private StructureJobLog logInfo;
 
        public DataBase() {
        }
@@ -39,6 +41,15 @@ public class DataBase {
                return total;
        }
 
+       
+       public void setTotalJobs(int totalJobs) {
+               this.totalJobs = totalJobs;
+       }
+
+       public int getTotalJobs() {
+               return totalJobs;
+       }
+
        public void setTotalId(int totId) {
                this.totalId = totId;
        }
@@ -94,5 +105,13 @@ public class DataBase {
        public List<Integer> getTimeTotalExec() {
                return timeTotalExec;
        }
+       
+       public void setLogInfo(StructureJobLog logInfo){
+               this.logInfo = logInfo;
+       }
+       
+       public StructureJobLog getLogInfo() {
+               return logInfo;
+       }
 
 }