Examples of KindBreakdown


Examples of org.yaac.client.ui.StatisticsView.KindBreakdown

          // filter out kind
          if (!isNullOrEmpty(selectedKind) && !selectedKind.equals(kindName)) {
            continue;
          }
         
          KindBreakdown kindBreakdown = kindBreakdownMap.get(kindName);
          if (kindBreakdown == null) {
            kindBreakdown = new KindBreakdown(kindName);
            kindBreakdownMap.put(kindName, kindBreakdown);
          }
          kindBreakdown.addCount(kindWrapper.getKind().getCount());
          kindBreakdown.addSize(kindWrapper.getKind().getBytes());
          kindBreakdown.addRootCount(
              kindWrapper.getRootKind() == null ? 0l : kindWrapper.getRootKind().getCount());
          kindBreakdown.addRootSize(
              kindWrapper.getRootKind() == null ? 0l : kindWrapper.getRootKind().getBytes());
          kindBreakdown.addNonRootCount(
              kindWrapper.getNonRootKind() == null ? 0l : kindWrapper.getNonRootKind().getCount());
          kindBreakdown.addNonRootSize(
              kindWrapper.getNonRootKind() == null ? 0l : kindWrapper.getNonRootKind().getBytes());
         
          // all aggregate to the same namespace
          namespaceBreakdown.addBytes(kindWrapper.getKind().getBytes());
          namespaceBreakdown.addCount(kindWrapper.getKind().getCount());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.