Package org.apache.ambari.server.state.stack

Examples of org.apache.ambari.server.state.stack.Metric


   */
  private  Map<String, PropertyInfo> getPropertyInfo(MetricDefinition def) {
    Map<String, PropertyInfo> defs = new HashMap<String, PropertyInfo>();
   
    for (Entry<String,Metric> entry : def.getMetrics().entrySet()) {
      Metric metric = entry.getValue();
      defs.put(entry.getKey(), new PropertyInfo(
          metric.getName(), metric.isTemporal(), metric.isPointInTime()));
    }
   
    return defs;
  }
View Full Code Here

TOP

Related Classes of org.apache.ambari.server.state.stack.Metric

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.