Examples of INodeStatistics


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

    appendStatistics(stats);
    return stats;
  }

  protected void appendStatistics(InvocationStatistics stats) {
    INodeStatistics s = getNodeStatistics();
    if (s != null) {
      stats.combineChild(s);
    }
    Node[] children = getChildren();
    for (Node node : children) {
View Full Code Here

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

        stepListMap.put(exchangeId, stepList);
      }
      IExchange exchange = stepList.addExchange(traceMessage);
      String toNode = traceMessage.getToNode();
      if (exchange != null && toNode != null) {
        INodeStatistics nodeStats = getNodeStats(toNode);
        nodeStats.addExchange(exchange);
      }
    }
    refreshExchangeList(stepLists);
  }
View Full Code Here

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

        stepListMap.put(exchangeId, stepList);
      }
      IExchange exchange = stepList.addExchange(traceMessage);
      String toNode = traceMessage.getToNode();
      if (exchange != null && toNode != null) {
        INodeStatistics nodeStats = getNodeStats(toNode);
        nodeStats.addExchange(exchange);
      }
    }
    refreshExchangeList(stepLists);
  }
View Full Code Here

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

    }
    return null;
  }

  protected IProcessorStatistics stats() {
    INodeStatistics answer = nodeStatistics();
    if (answer instanceof IProcessorStatistics) {
      return (IProcessorStatistics) answer;
    }
    return null;
  }
View Full Code Here

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

      } else if (element instanceof HasName) {
        HasName h = (HasName) element;
        return h.getName();
      } else if (element instanceof Flow) {
        Flow flow = (Flow) element;
        INodeStatistics stats = getStatsFor(flow);
        if (stats != null) {
          return statsLabel(stats);
        } else {
          return null;
        }
View Full Code Here

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

      }
      // TODO add link to docs!
      return new Label(label);
    } else if (entity instanceof Flow) {
      Flow flow = (Flow) entity;
      INodeStatistics stats = getStatsFor(flow);
      if (stats != null) {
        return statsToolTip(stats);
      } else {
        return null;
      }
View Full Code Here

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

    return null;
  }

  protected INodeStatistics getStatsFor(Flow flow) {
    NodeStatisticsContainer traceExchangeList = view.getNodeStatisticsContainer();
    INodeStatistics stats = null;
    AbstractNode node = flow.getTarget();
    if (traceExchangeList != null && node != null) {
      stats = traceExchangeList.getNodeStats(node.getId());
    }
    return stats;
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.