|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Metric | |
|---|---|
| com.yammer.metrics | |
| com.yammer.metrics.core | |
| com.yammer.metrics.reporting | |
| com.yammer.metrics.util | |
| Uses of Metric in com.yammer.metrics |
|---|
| Methods in com.yammer.metrics that return types with arguments of type Metric | |
|---|---|
static Map<MetricName,Metric> |
Metrics.allMetrics()
Returns an unmodifiable map of all metrics and their names. |
| Uses of Metric in com.yammer.metrics.core |
|---|
| Subinterfaces of Metric in com.yammer.metrics.core | |
|---|---|
interface |
Metered
|
| Classes in com.yammer.metrics.core that implement Metric | |
|---|---|
class |
CounterMetric
An incrementing and decrementing counter metric. |
class |
GaugeMetric<T>
A gauge metric is an instantaneous reading of a particular value. |
class |
HistogramMetric
A metric which calculates the distribution of a value. |
class |
JmxGauge
A gauge which exposes an attribute of a JMX MBean. |
class |
MeterMetric
A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs. |
class |
TimerMetric
A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics via MeterMetric. |
| Methods in com.yammer.metrics.core with type parameters of type Metric | ||
|---|---|---|
protected
|
MetricsRegistry.getOrAdd(MetricName name,
T 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. |
protected ConcurrentMap<MetricName,Metric> |
MetricsRegistry.newMetricsMap()
Returns a new ConcurrentMap implementation. |
| Methods in com.yammer.metrics.core with parameters of type Metric | |
|---|---|
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 |
|---|
| Methods in com.yammer.metrics.util that return types with arguments of type Metric | |
|---|---|
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 Metric | |
|---|---|
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 Metric | |
|---|---|
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)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||