Package org.apache.ambari.server.controller.ganglia

Examples of org.apache.ambari.server.controller.ganglia.GangliaComponentPropertyProvider


  private PropertyProvider createGangliaComponentPropertyProvider( Resource.Type type, StreamProvider streamProvider,
                                                                   ComponentSSLConfiguration configuration,
                                                                   GangliaHostProvider hostProvider,
                                                                   String clusterNamePropertyId,
                                                                   String componentNamePropertyId) {
    return new GangliaComponentPropertyProvider(PropertyHelper.getGangliaPropertyIds(type),
              streamProvider, configuration, hostProvider, clusterNamePropertyId, componentNamePropertyId);
  }
View Full Code Here


            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
            null,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name")));

        providers.add(new GangliaComponentPropertyProvider(
            PropertyHelper.getGangliaPropertyIds(type),
            streamProvider,
            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name")));
View Full Code Here

            null,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name"),
            PropertyHelper.getPropertyId("ServiceComponentInfo", "state"),
            Collections.singleton("STARTED")));

        providers.add(new GangliaComponentPropertyProvider(
            PropertyHelper.getGangliaPropertyIds(type),
            streamProvider,
            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name")));
View Full Code Here

            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
            null,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name")));

        providers.add(new GangliaComponentPropertyProvider(
            PropertyHelper.getGangliaPropertyIds(type),
            streamProvider,
            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name")));
View Full Code Here

        new HashMap<PropertyHelper.MetricsVersion, AbstractPropertyProvider>();
    AbstractPropertyProvider lastProvider = null;

    for (PropertyHelper.MetricsVersion version : PropertyHelper.MetricsVersion.values()) {
      lastProvider =
          new GangliaComponentPropertyProvider(PropertyHelper.getGangliaPropertyIds(type, version),
              streamProvider, configuration, hostProvider, clusterNamePropertyId, componentNamePropertyId);

      providers.put(version, lastProvider);
    }
View Full Code Here

  private PropertyProvider createGangliaComponentPropertyProvider( Resource.Type type, StreamProvider streamProvider,
                                                                   ComponentSSLConfiguration configuration,
                                                                   GangliaHostProvider hostProvider,
                                                                   String clusterNamePropertyId,
                                                                   String componentNamePropertyId) {
    return new GangliaComponentPropertyProvider(PropertyHelper.getGangliaPropertyIds(type),
              streamProvider, configuration, hostProvider, clusterNamePropertyId, componentNamePropertyId);
  }
View Full Code Here

            null,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name"),
            PropertyHelper.getPropertyId("ServiceComponentInfo", "state"),
            Collections.singleton("STARTED")));

        providers.add(new GangliaComponentPropertyProvider(
            PropertyHelper.getGangliaPropertyIds(type),
            streamProvider,
            configuration,
            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
View Full Code Here

            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
            null,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name")));

        providers.add(new GangliaComponentPropertyProvider(
            PropertyHelper.getGangliaPropertyIds(type),
            streamProvider,
            this,
            PropertyHelper.getPropertyId("ServiceComponentInfo", "cluster_name"),
            PropertyHelper.getPropertyId("ServiceComponentInfo", "component_name")));
View Full Code Here

  private PropertyProvider createGangliaComponentPropertyProvider( Resource.Type type, StreamProvider streamProvider,
                                                                   ComponentSSLConfiguration configuration,
                                                                   GangliaHostProvider hostProvider,
                                                                   String clusterNamePropertyId,
                                                                   String componentNamePropertyId) {
    return new GangliaComponentPropertyProvider(PropertyHelper.getGangliaPropertyIds(type),
              streamProvider, configuration, hostProvider, clusterNamePropertyId, componentNamePropertyId);
  }
View Full Code Here

        new HashMap<PropertyHelper.MetricsVersion, AbstractPropertyProvider>();
    AbstractPropertyProvider lastProvider = null;

    for (PropertyHelper.MetricsVersion version : PropertyHelper.MetricsVersion.values()) {
      lastProvider =
          new GangliaComponentPropertyProvider(PropertyHelper.getGangliaPropertyIds(type, version),
              streamProvider, configuration, hostProvider, clusterNamePropertyId, componentNamePropertyId);

      providers.put(version, lastProvider);
    }
View Full Code Here

TOP

Related Classes of org.apache.ambari.server.controller.ganglia.GangliaComponentPropertyProvider

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.