Package org.apache.helix.monitoring

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


  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

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

  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

  private final String _instanceName;

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

  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

  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

  private final String _instanceName;

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

TOP

Related Classes of org.apache.helix.monitoring.StatCollector

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.