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

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




  @Override
  public IInvocationStatistics getTotalStatistics() {
    NodeStatisticsContainer container = getNodeStatisticsContainer();
    if (container instanceof IProcessorStatisticsContainer) {
      IProcessorStatisticsContainer processorContainer = (IProcessorStatisticsContainer) container;
      Map<String, IProcessorStatistics> map = processorContainer.getNodeStatsMap();
      Collection<IProcessorStatistics> values = map.values();
      InvocationStatistics stats = new InvocationStatistics();
View Full Code Here


  public String getProcessorId() {
    return processorId;
  }

  protected INodeStatistics nodeStatistics() {
    NodeStatisticsContainer container = camelContextNode.getNodeStatisticsContainer(routeId);
    if (container != null){
      return container.getNodeStats(processorId);
    }
    return null;
  }
View Full Code Here

    }
    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

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

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.