Add MetaInfoManager API, remove MetaQueryStatistic entity bean, refactor query execution stats collection

This commit is contained in:
Rob Bygrave
2014-01-19 22:49:18 +13:00
parent 05dcdf162b
commit 6bd8c2bd05
40 changed files with 1375 additions and 1093 deletions
@@ -13,11 +13,11 @@ public class StatisticsQuery implements Serializable {
private final String path;
private int exeCount;
private long exeCount;
private int totalBeanLoaded;
private long totalBeanLoaded;
private int totalMicros;
private long totalMicros;
public StatisticsQuery(String path){
this.path = path;
@@ -27,7 +27,7 @@ public class StatisticsQuery implements Serializable {
return new QueryStats(path, exeCount, totalBeanLoaded, totalMicros);
}
public void add(int beansLoaded, int micros) {
public void add(long beansLoaded, long micros) {
exeCount++;
totalBeanLoaded += beansLoaded;
totalMicros += micros;