Uses of Class
com.yammer.metrics.core.MetricName

Packages that use MetricName
com.yammer.metrics   
com.yammer.metrics.core   
com.yammer.metrics.reporting   
com.yammer.metrics.util   
 

Uses of MetricName in com.yammer.metrics
 

Methods in com.yammer.metrics that return types with arguments of type MetricName
static Map<MetricName,Metric> Metrics.allMetrics()
          Returns an unmodifiable map of all metrics and their names.
 

Methods in com.yammer.metrics with parameters of type MetricName
static CounterMetric Metrics.newCounter(MetricName metricName)
          Creates a new CounterMetric and registers it under the given metric name.
static
<T> GaugeMetric<T>
Metrics.newGauge(MetricName metricName, GaugeMetric<T> metric)
          Given a new GaugeMetric, registers it under the given metric name.
static HistogramMetric Metrics.newHistogram(MetricName metricName)
          Creates a new non-biased HistogramMetric and registers it under the given metric name.
static HistogramMetric Metrics.newHistogram(MetricName metricName, boolean biased)
          Creates a new HistogramMetric and registers it under the given metric name.
static JmxGauge Metrics.newJmxGauge(MetricName metricName, String objectName, String attribute)
          Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given metric name.
static MeterMetric Metrics.newMeter(MetricName metricName, String eventType, TimeUnit unit)
          Creates a new MeterMetric and registers it under the given metric name.
static TimerMetric Metrics.newTimer(MetricName metricName, TimeUnit durationUnit, TimeUnit rateUnit)
          Creates a new TimerMetric and registers it under the given metric name.
static void Metrics.removeMetric(MetricName name)
          Removes the metric with the given name.
 

Uses of MetricName in com.yammer.metrics.core
 

Methods in com.yammer.metrics.core that return MetricName
 MetricName MetricsRegistry.createName(Class<?> klass, String name, String scope)
          Override to customize how MetricNames are created.
 

Methods in com.yammer.metrics.core that return types with arguments of type MetricName
 Map<MetricName,Metric> MetricsRegistry.allMetrics()
          Returns an unmodifiable map of all metrics and their names.
protected  ConcurrentMap<MetricName,Metric> MetricsRegistry.newMetricsMap()
          Returns a new ConcurrentMap implementation.
 

Methods in com.yammer.metrics.core with parameters of type MetricName
 int MetricName.compareTo(MetricName o)
           
protected
<T extends Metric>
T
MetricsRegistry.getOrAdd(MetricName name, T metric)
           
 CounterMetric MetricsRegistry.newCounter(MetricName metricName)
          Creates a new CounterMetric and registers it under the given metric name.
<T> GaugeMetric<T>
MetricsRegistry.newGauge(MetricName metricName, GaugeMetric<T> metric)
          Given a new GaugeMetric, registers it under the given metric name.
 HistogramMetric MetricsRegistry.newHistogram(MetricName metricName, boolean biased)
          Creates a new HistogramMetric and registers it under the given metric name.
 JmxGauge MetricsRegistry.newJmxGauge(MetricName metricName, String objectName, String attribute)
          Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given metric name.
 MeterMetric MetricsRegistry.newMeter(MetricName metricName, String eventType, TimeUnit unit)
          Creates a new MeterMetric and registers it under the given metric name.
 TimerMetric MetricsRegistry.newTimer(MetricName metricName, TimeUnit durationUnit, TimeUnit rateUnit)
          Creates a new TimerMetric and registers it under the given metric name.
 void MetricsRegistryListener.onMetricAdded(MetricName name, Metric metric)
          Called when a metric has been added to the MetricsRegistry.
 void MetricsRegistryListener.onMetricRemoved(MetricName name)
          Called when a metric has been removed from the MetricsRegistry.
 void MetricsProcessor.processCounter(MetricName name, CounterMetric counter, T context)
           
 void MetricsProcessor.processGauge(MetricName name, GaugeMetric<?> gauge, T context)
           
 void MetricsProcessor.processHistogram(MetricName name, HistogramMetric histogram, T context)
           
 void MetricsProcessor.processMeter(MetricName name, Metered meter, T context)
           
 void MetricsProcessor.processTimer(MetricName name, TimerMetric timer, T context)
           
<T> void
TimerMetric.processWith(MetricsProcessor<T> processor, MetricName name, T context)
           
<T> void
Metric.processWith(MetricsProcessor<T> reporter, MetricName name, T context)
           
<T> void
MeterMetric.processWith(MetricsProcessor<T> processor, MetricName name, T context)
           
<T> void
HistogramMetric.processWith(MetricsProcessor<T> processor, MetricName name, T context)
           
<T> void
CounterMetric.processWith(MetricsProcessor<T> processor, MetricName name, T context)
           
<U> void
GaugeMetric.processWith(MetricsProcessor<U> processor, MetricName name, U context)
           
 void MetricsRegistry.removeMetric(MetricName name)
          Removes the metric with the given name.
 

Uses of MetricName in com.yammer.metrics.reporting
 

Fields in com.yammer.metrics.reporting declared as MetricName
 MetricName JmxReporter.Context.metricName
           
 

Methods in com.yammer.metrics.reporting with parameters of type MetricName
protected  PrintStream CsvReporter.createStreamForMetric(MetricName metricName)
          Override to do tricks (such as testing).
 void JmxReporter.onMetricAdded(MetricName name, Metric metric)
           
 void JmxReporter.onMetricRemoved(MetricName name)
           
 void CsvReporter.processCounter(MetricName name, CounterMetric counter, CsvReporter.Context context)
           
 void JmxReporter.processCounter(MetricName name, CounterMetric counter, JmxReporter.Context context)
           
 void ConsoleReporter.processCounter(MetricName name, CounterMetric counter, PrintStream stream)
           
 void CsvReporter.processGauge(MetricName name, GaugeMetric<?> gauge, CsvReporter.Context context)
           
 void JmxReporter.processGauge(MetricName name, GaugeMetric<?> gauge, JmxReporter.Context context)
           
 void ConsoleReporter.processGauge(MetricName name, GaugeMetric<?> gauge, PrintStream stream)
           
 void CsvReporter.processHistogram(MetricName name, HistogramMetric histogram, CsvReporter.Context context)
           
 void JmxReporter.processHistogram(MetricName name, HistogramMetric histogram, JmxReporter.Context context)
           
 void ConsoleReporter.processHistogram(MetricName name, HistogramMetric histogram, PrintStream stream)
           
 void CsvReporter.processMeter(MetricName name, Metered meter, CsvReporter.Context context)
           
 void JmxReporter.processMeter(MetricName name, Metered meter, JmxReporter.Context context)
           
 void ConsoleReporter.processMeter(MetricName name, Metered meter, PrintStream stream)
           
 void CsvReporter.processTimer(MetricName name, TimerMetric timer, CsvReporter.Context context)
           
 void JmxReporter.processTimer(MetricName name, TimerMetric timer, JmxReporter.Context context)
           
 void ConsoleReporter.processTimer(MetricName name, TimerMetric timer, PrintStream stream)
           
 

Constructors in com.yammer.metrics.reporting with parameters of type MetricName
JmxReporter.Context(MetricName metricName, ObjectName objectName)
           
 

Uses of MetricName in com.yammer.metrics.util
 

Methods in com.yammer.metrics.util that return types with arguments of type MetricName
static Map<MetricName,Metric> Utils.filterMetrics(Map<MetricName,Metric> metrics, MetricPredicate predicate)
           
static Map<String,Map<MetricName,Metric>> Utils.sortAndFilterMetrics(Map<MetricName,Metric> metrics, MetricPredicate predicate)
           
static Map<String,Map<MetricName,Metric>> Utils.sortMetrics(Map<MetricName,Metric> metrics)
           
 

Methods in com.yammer.metrics.util with parameters of type MetricName
 boolean MetricPredicate.matches(MetricName name, Metric metric)
          Returns true if the metric matches the predicate.
 

Method parameters in com.yammer.metrics.util with type arguments of type MetricName
static Map<MetricName,Metric> Utils.filterMetrics(Map<MetricName,Metric> metrics, MetricPredicate predicate)
           
static Map<String,Map<MetricName,Metric>> Utils.sortAndFilterMetrics(Map<MetricName,Metric> metrics, MetricPredicate predicate)
           
static Map<String,Map<MetricName,Metric>> Utils.sortMetrics(Map<MetricName,Metric> metrics)
           
 



Copyright © 2011. All Rights Reserved.