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

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

Uses of MetricName in com.yammer.metrics
 

Methods in com.yammer.metrics with parameters of type MetricName
static Counter Metrics.newCounter(MetricName metricName)
          Creates a new Counter and registers it under the given metric name.
static
<T> Gauge<T>
Metrics.newGauge(MetricName metricName, Gauge<T> metric)
          Given a new Gauge, registers it under the given metric name.
static Histogram Metrics.newHistogram(MetricName metricName)
          Creates a new non-biased Histogram and registers it under the given metric name.
static Histogram Metrics.newHistogram(MetricName metricName, boolean biased)
          Creates a new Histogram and registers it under the given metric name.
static Meter Metrics.newMeter(MetricName metricName, String eventType, TimeUnit unit)
          Creates a new Meter and registers it under the given metric name.
static Timer Metrics.newTimer(MetricName metricName, TimeUnit durationUnit, TimeUnit rateUnit)
          Creates a new Timer and registers it under the given metric name.
 

Uses of MetricName in com.yammer.metrics.core
 

Methods in com.yammer.metrics.core that return MetricName
protected  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.
 SortedMap<String,SortedMap<MetricName,Metric>> MetricsRegistry.groupedMetrics()
          Returns a grouped and sorted map of all registered metrics.
 SortedMap<String,SortedMap<MetricName,Metric>> MetricsRegistry.groupedMetrics(MetricPredicate predicate)
          Returns a grouped and sorted map of all registered metrics which match then given MetricPredicate.
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)
          Gets any existing metric with the given name or, if none exists, adds the given metric.
 boolean MetricPredicate.matches(MetricName name, Metric metric)
          Returns true if the metric matches the predicate.
 Counter MetricsRegistry.newCounter(MetricName metricName)
          Creates a new Counter and registers it under the given metric name.
<T> Gauge<T>
MetricsRegistry.newGauge(MetricName metricName, Gauge<T> metric)
          Given a new Gauge, registers it under the given metric name.
 Histogram MetricsRegistry.newHistogram(MetricName metricName, boolean biased)
          Creates a new Histogram and registers it under the given metric name.
 Meter MetricsRegistry.newMeter(MetricName metricName, String eventType, TimeUnit unit)
          Creates a new Meter and registers it under the given metric name.
 Timer MetricsRegistry.newTimer(MetricName metricName, TimeUnit durationUnit, TimeUnit rateUnit)
          Creates a new Timer 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 MetricProcessor.processCounter(MetricName name, Counter counter, T context)
          Process the given counter.
 void MetricProcessor.processGauge(MetricName name, Gauge<?> gauge, T context)
          Process the given gauge.
 void MetricProcessor.processHistogram(MetricName name, Histogram histogram, T context)
          Process the given histogram.
 void MetricProcessor.processMeter(MetricName name, Metered meter, T context)
          Process the given Metered instance.
 void MetricProcessor.processTimer(MetricName name, Timer timer, T context)
          Process the given timer.
<T> void
Timer.processWith(MetricProcessor<T> processor, MetricName name, T context)
           
<T> void
Metric.processWith(MetricProcessor<T> processor, MetricName name, T context)
          Allow the given MetricProcessor to process this as a metric.
<T> void
Meter.processWith(MetricProcessor<T> processor, MetricName name, T context)
           
<T> void
Histogram.processWith(MetricProcessor<T> processor, MetricName name, T context)
           
<T> void
Counter.processWith(MetricProcessor<T> processor, MetricName name, T context)
           
<U> void
Gauge.processWith(MetricProcessor<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
 

Methods in com.yammer.metrics.reporting with parameters of type MetricName
protected  PrintStream CsvReporter.createStreamForMetric(MetricName metricName)
          Returns an opened PrintStream for the given MetricName which outputs data to a metric-specific .csv file in the output directory.
 void JmxReporter.onMetricAdded(MetricName name, Metric metric)
           
 void JmxReporter.onMetricRemoved(MetricName name)
           
 void CsvReporter.processCounter(MetricName name, Counter counter, CsvReporter.Context context)
           
 void JmxReporter.processCounter(MetricName name, Counter counter, com.yammer.metrics.reporting.JmxReporter.Context context)
           
 void ConsoleReporter.processCounter(MetricName name, Counter counter, PrintStream stream)
           
 void CsvReporter.processGauge(MetricName name, Gauge<?> gauge, CsvReporter.Context context)
           
 void JmxReporter.processGauge(MetricName name, Gauge<?> gauge, com.yammer.metrics.reporting.JmxReporter.Context context)
           
 void ConsoleReporter.processGauge(MetricName name, Gauge<?> gauge, PrintStream stream)
           
 void CsvReporter.processHistogram(MetricName name, Histogram histogram, CsvReporter.Context context)
           
 void JmxReporter.processHistogram(MetricName name, Histogram histogram, com.yammer.metrics.reporting.JmxReporter.Context context)
           
 void ConsoleReporter.processHistogram(MetricName name, Histogram histogram, PrintStream stream)
           
 void CsvReporter.processMeter(MetricName name, Metered meter, CsvReporter.Context context)
           
 void JmxReporter.processMeter(MetricName name, Metered meter, com.yammer.metrics.reporting.JmxReporter.Context context)
           
 void ConsoleReporter.processMeter(MetricName name, Metered meter, PrintStream stream)
           
 void CsvReporter.processTimer(MetricName name, Timer timer, CsvReporter.Context context)
           
 void JmxReporter.processTimer(MetricName name, Timer timer, com.yammer.metrics.reporting.JmxReporter.Context context)
           
 void ConsoleReporter.processTimer(MetricName name, Timer timer, PrintStream stream)
           
 



Copyright © 2012. All Rights Reserved.