Home
last modified time | relevance | path

Searched refs:metricName (Results 1 – 6 of 6) sorted by relevance

/external/apache-http/src/org/apache/http/impl/
DHttpConnectionMetricsImpl.java105 public Object getMetric(final String metricName) { in getMetric() argument
108 value = this.metricsCache.get(metricName); in getMetric()
111 if (REQUEST_COUNT.equals(metricName)) { in getMetric()
113 } else if (RESPONSE_COUNT.equals(metricName)) { in getMetric()
115 } else if (RECEIVED_BYTES_COUNT.equals(metricName)) { in getMetric()
121 } else if (SENT_BYTES_COUNT.equals(metricName)) { in getMetric()
132 public void setMetric(final String metricName, Object obj) { in setMetric() argument
136 this.metricsCache.put(metricName, obj); in setMetric()
/external/opencensus-java/contrib/dropwizard/src/main/java/io/opencensus/contrib/dropwizard/
DDropWizardMetrics.java85 String metricName = DropWizardUtils.generateFullMetricName(dropwizardName, "gauge"); in collectGauge() local
106 metricName, metricDescription, DEFAULT_UNIT, type, Collections.<LabelKey>emptyList()); in collectGauge()
121 String metricName = DropWizardUtils.generateFullMetricName(dropwizardName, "counter"); in collectCounter() local
127 metricName, in collectCounter()
148 String metricName = DropWizardUtils.generateFullMetricName(dropwizardName, "meter"); in collectMeter() local
153 metricName, in collectMeter()
175 String metricName = DropWizardUtils.generateFullMetricName(dropwizardName, "histogram"); in collectHistogram() local
179 metricName, metricDescription, histogram.getSnapshot(), histogram.getCount()); in collectHistogram()
190 String metricName = DropWizardUtils.generateFullMetricName(dropwizardName, "timer"); in collectTimer() local
193 metricName, metricDescription, timer.getSnapshot(), timer.getCount()); in collectTimer()
[all …]
DDropWizardUtils.java44 static String generateFullMetricDescription(String metricName, Metric metric) { in generateFullMetricDescription() argument
48 + metricName in generateFullMetricDescription()
/external/fonttools/Lib/fontTools/ttLib/tables/
DBitmapGlyphMetrics.py38 for metricName in sstruct.getformat(self.__class__.binaryFormat)[1]:
39 writer.simpletag(metricName, value=getattr(self, metricName))
DE_B_L_C_.py280 for metricName in self._getXMLMetricNames():
281 writer.simpletag(metricName, value=getattr(self, metricName))
311 for metricName in sstruct.getformat(sbitLineMetricsFormat)[1]:
312 writer.simpletag(metricName, value=getattr(self, metricName))
/external/apache-http/src/org/apache/http/
DHttpConnectionMetrics.java76 Object getMetric(String metricName); in getMetric() argument