com.twitter.common.metrics
Interface MetricProvider

All Known Implementing Classes:
Metrics

public interface MetricProvider

A provider of metric samples.


Method Summary
 Map<String,Number> sample()
          Obtains a snapshot of all available metric values.
 

Method Detail

sample

Map<String,Number> sample()
Obtains a snapshot of all available metric values.

Returns:
Metric samples.