Package org.fusesource.ide.jmx.commons.messages

Examples of org.fusesource.ide.jmx.commons.messages.IInvocationStatistics


    column = addColumnFunction(bounds, column, function, "ID");

    function = new FunctionLong<Object>() {
      @Override
      public Long apply(Object element) {
        IInvocationStatistics stats = getTotalStatistics(element);
        if (stats != null){
          return stats.getTotalElapsedTime();
        }
        return null;
      }
    };
    column = addColumnFunction(bounds, column, function, "Total Time (ms)");

    function = new FunctionLong<Object>() {
      @Override
      public Long apply(Object element) {
        IInvocationStatistics stats = getNodeStatistics(element);
        if (stats != null){
          return stats.getTotalElapsedTime();
        }
        return null;
      }
    };
    column = addColumnFunction(bounds, column, function, "Self Time (ms)");

    function = new FunctionLong<Object>() {
      @Override
      public Long apply(Object element) {
        IInvocationStatistics stats = getTotalStatistics(element);
        if (stats != null){
          return stats.getCounter();
        }
        return null;
      }
    };
    column = addColumnFunction(bounds, column, function, "Count");
View Full Code Here


    if (element instanceof IInvocationStatistics) {
      return (IInvocationStatistics) element;
    }
    if (element instanceof HasTotalStatistics) {
      HasTotalStatistics node = (HasTotalStatistics) element;
      IInvocationStatistics answer = node.getTotalStatistics();
      if (answer != null) {
        return answer;
      }
    }
    if (element instanceof ProcessorNodeSupport) {
View Full Code Here

TOP

Related Classes of org.fusesource.ide.jmx.commons.messages.IInvocationStatistics

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.