Package org.shiftone.jrat.provider.tree.ui

Examples of org.shiftone.jrat.provider.tree.ui.StackTreeNode


    return false;
  }

  public Object getValueAt(int rowIndex, int columnIndex) {

    StackTreeNode node = (StackTreeNode) stack.get(rowIndex);
    MethodKey methodKey = node.getMethodKey();
    if (methodKey == null) {
      return "?";
    }
    switch (columnIndex) {
    case 0:
      return methodKey.getClassName();
    case 1:
      return methodKey.getMethodName();
    case 2:
      return methodKey.getPrettySignature();
    case 3:
      return new Long(node.getTotalEnters());
    case 4:
      return new Long(node.getTotalExits());
    case 5:
      return new Long(node.getTotalErrors());
    case 6:
      return new Integer(node.getMaxConcurrentThreads());
    case 7:
      return new Long(node.getTotalDuration(TimeUnit.MS));
    case 8:
      return node.getAverageDuration(TimeUnit.MS);
    case 9:
      return node.getStdDeviation();
    case 10:
      return node.getMinDuration(TimeUnit.MS);
    case 11:
      return node.getMaxDuration(TimeUnit.MS);
    case 12:
      return new Percent(node.getPctOfAvgParentDuration());
    case 13:
      return new Percent(getPctOfAvgRootDuration(node));
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.shiftone.jrat.provider.tree.ui.StackTreeNode

Copyright © 2018 www.massapicom. 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.