Examples of StatCollector


Examples of org.apache.helix.monitoring.StatCollector

  private final String _instanceName;

  public MessageQueueMonitor(String clusterName, String instanceName) {
    _clusterName = clusterName;
    _instanceName = instanceName;
    _messageQueueSizeStat = new StatCollector();
  }
View Full Code Here

Examples of org.apache.helix.monitoring.StatCollector

  private final ObjectName _objectName;

  public HelixStageLatencyMonitor(String clusterName, String stageName) throws Exception {
    _clusterName = clusterName;
    _stageName = stageName;
    _stgLatency = new StatCollector();
    _beanServer = ManagementFactory.getPlatformMBeanServer();
    _objectName =
        new ObjectName("StageLatencyMonitor: " + "cluster=" + _clusterName + ",stage=" + _stageName);
    try {
      register(this, _objectName);
View Full Code Here

Examples of org.apache.helix.monitoring.StatCollector

  StateTransitionContext _context;

  public StateTransitionStatMonitor(StateTransitionContext context, TimeUnit unit) {
    _context = context;
    _monitorMap.put(LATENCY_TYPE.TOTAL, new StatCollector());
    _monitorMap.put(LATENCY_TYPE.EXECUTION, new StatCollector());
    reset();
  }
View Full Code Here

Examples of org.apache.helix.monitoring.StatCollector

  private final String _instanceName;

  public MessageQueueMonitor(String clusterName, String instanceName) {
    _clusterName = clusterName;
    _instanceName = instanceName;
    _messageQueueSizeStat = new StatCollector();
  }
View Full Code Here

Examples of org.apache.mina.management.StatCollector

    public void startCollectingStats(int millisecondsPolling) {
        if (collector != null && collector.isRunning()) {
            throw new RuntimeException("Already collecting stats");
        }

        collector = new StatCollector(service, millisecondsPolling);
        collector.start();

    }
View Full Code Here

Examples of org.apache.mina.management.StatCollector

        if ( collector != null && collector.isRunning() )
        {
            throw new RuntimeException( "Already collecting stats" );
        }

        collector = new StatCollector( service, millisecondsPolling );
        collector.start();

    }
View Full Code Here

Examples of org.apache.mina.management.StatCollector

        if ( collector != null && collector.isRunning() )
        {
            throw new RuntimeException( "Already collecting stats" );
        }

        collector = new StatCollector( service, millisecondsPolling );
        collector.start();

    }
View Full Code Here

Examples of org.apache.mina.management.StatCollector

        if ( collector != null && collector.isRunning() )
        {
            throw new RuntimeException( "Already collecting stats" );
        }

        collector = new StatCollector( service, millisecondsPolling );
        collector.start();

    }
View Full Code Here

Examples of org.apache.mina.management.StatCollector

    public void startCollectingStats(int millisecondsPolling) {
        if (collector != null && collector.isRunning()) {
            throw new RuntimeException("Already collecting stats");
        }

        collector = new StatCollector(service, millisecondsPolling);
        collector.start();

    }
View Full Code Here

Examples of org.apache.mina.management.StatCollector

    public void startCollectingStats(int millisecondsPolling) {
        if (collector != null && collector.isRunning()) {
            throw new RuntimeException("Already collecting stats");
        }

        collector = new StatCollector(service, millisecondsPolling);
        collector.start();

    }
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.