Examples of StatsHolder


Examples of com.linkedin.helix.alerts.StatsHolder

    {
      throw new StageException("helixmanager|HealthDataCache attribute value is null");
    }
    if(_alertsHolder == null)
    {
      _statsHolder = new StatsHolder(manager, cache);
      _alertsHolder = new AlertsHolder(manager, cache, _statsHolder);
    }
    else
    {
      _statsHolder.updateCache(cache);
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

    //note that the above refers to the actual implementation rather than interface.

    //registers MBeans pertaining to http-listeners
    final Iterator iter = registryImpl.getHttpServiceNodes().iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.registerMBean();
      logger.finer("DynamicReconfigurator: Now Registering MBean for --- " + c.getName());
    }
  }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

      (MonitoringRegistrationHelper) MonitoringRegistrationHelper.getInstance();
    //note that the above refers to the actual implementation rather than interface.

    final Iterator iter = registryImpl.getHttpServiceNodes().iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.unregisterMBean();
      logger.finer("DynamicReconfigurator: Now UnRegistering MBean for --- " + c.getName());
    }
  }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

    //note that the above refers to the actual implementation rather than interface.

    //registers MBeans pertaining to transaction service
    final Iterator iter = registryImpl.getTransactionServiceNodes().iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.registerMBean();
      logger.finer("DynamicReconfigurator: Now Registering MBean for --- " + c.getName());
    }
  }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

      (MonitoringRegistrationHelper) MonitoringRegistrationHelper.getInstance();
    //note that the above refers to the actual implementation rather than interface.

    final Iterator iter = registryImpl.getTransactionServiceNodes().iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.unregisterMBean();
      logger.finer("DynamicReconfigurator: Now UnRegistering MBean for --- " + c.getName());
    }
  }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

                                if(mReg.getMonitoringFeature().handleModuleMonitoringLevelChange(name, level)){
                                    continue;
                                }
                                Iterator it = mReg.getRootStatsHolder().getChild(name).getAllChildren().iterator();
                                while (it.hasNext()) {
                                    StatsHolder c = (StatsHolder) it.next();
                                    if (monLevel.equalsIgnoreCase("LOW") || monLevel.equalsIgnoreCase("HIGH"))
                                        c.registerMBean();
                                    else if (monLevel.equalsIgnoreCase("OFF"))
                                        c.unregisterMBean();
                                }
                            }
                        }
                    }
                }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

    //note that the above refers to the actual implementation rather than interface.

    //registers MBeans pertaining to ejbs, pools, caches, methods
    final Iterator iter = registryImpl.getEjbContainerNodes(includeMethods).iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.registerMBean();
      logger.finer("DynamicReconfigurator: Now Registering MBean for --- " + c.getName());
    }
  }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

      (MonitoringRegistrationHelper) MonitoringRegistrationHelper.getInstance();
    //note that the above refers to the actual implementation rather than interface.

    final Iterator iter = registryImpl.getEjbContainerNodes(includeMethods).iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.unregisterMBean();
      logger.finer("DynamicReconfigurator: Now UnRegistering MBean for --- " + c.getName());
    }
  }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

    final MonitoringRegistrationHelper registryImpl  =
      (MonitoringRegistrationHelper) MonitoringRegistrationHelper.getInstance();

    final Iterator iter = registryImpl.getEjbMethodNodes().iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.registerMBean();
      logger.finer("DynamicReconfigurator: Now Registering MBean for --- " + c.getName());
    }
  }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.registry.StatsHolder

    final MonitoringRegistrationHelper registryImpl  =
      (MonitoringRegistrationHelper) MonitoringRegistrationHelper.getInstance();

    final Iterator iter = registryImpl.getEjbMethodNodes().iterator();
    while (iter.hasNext()) {
      final StatsHolder c = (StatsHolder) iter.next();
      c.unregisterMBean();
      logger.finer("DynamicReconfigurator: Now UnRegistering MBean for --- " + c.getName());
    }
  }
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.