Uses of Interface
com.yammer.metrics.core.Metric

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

Uses of Metric in com.yammer.metrics.core
 

Subinterfaces of Metric in com.yammer.metrics.core
 interface Metered
          An object which maintains mean and exponentially-weighted rate.
 

Classes in com.yammer.metrics.core that implement Metric
 class Counter
          An incrementing and decrementing counter metric.
 class Gauge<T>
          A gauge metric is an instantaneous reading of a particular value.
 class Histogram
          A metric which calculates the distribution of a value.
 class Meter
          A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.
 class Timer
          A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics via Meter.
 

Methods in com.yammer.metrics.core with type parameters of type Metric
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.
 

Methods in com.yammer.metrics.core that return types with arguments of type Metric
 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 Metric
 boolean MetricPredicate.matches(MetricName name, Metric metric)
          Returns true if the metric matches the predicate.
 void MetricsRegistryListener.onMetricAdded(MetricName name, Metric metric)
          Called when a metric has been added to the MetricsRegistry.
 

Uses of Metric in com.yammer.metrics.reporting
 

Methods in com.yammer.metrics.reporting with parameters of type Metric
 void JmxReporter.onMetricAdded(MetricName name, Metric metric)
           
 

Uses of Metric in com.yammer.metrics.util
 

Classes in com.yammer.metrics.util that implement Metric
 class JmxGauge
          A gauge which exposes an attribute of a JMX MBean.
 class PercentGauge
          A RatioGauge extension which returns a percentage, not a ratio.
 class RatioGauge
          A gauge which measures the ratio of one value to another.
 class ToggleGauge
          Returns a 1 the first time it's called, a 0 every time after that.
 



Copyright © 2012. All Rights Reserved.