Modifier and Type | Interface and Description |
---|---|
static interface |
MetricRegistry.MetricSupplier<T extends Metric> |
Modifier and Type | Interface and Description |
---|---|
interface |
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.
|
interface |
Metered
An object which maintains mean and moving average rates.
|
interface |
MetricSet
A set of named metrics.
|
Modifier and Type | Class and Description |
---|---|
class |
CachedGauge<T>
A
Gauge implementation which caches its value for a period of time. |
class |
Counter
An incrementing and decrementing counter metric.
|
class |
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.
|
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
moving average throughputs.
|
class |
MetricRegistry
A registry of metric instances.
|
class |
NoopMetricRegistry
A registry of metric instances which never creates or registers any metrics and returns no-op implementations of any metric type.
|
class |
RatioGauge
A gauge which measures the ratio of one value to another.
|
class |
Timer
A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter . |
Modifier and Type | Method and Description |
---|---|
<T extends Metric> |
MetricRegistry.register(String name,
T metric)
Given a
Metric , registers it under the given name. |
<T extends Metric> |
NoopMetricRegistry.register(String name,
T metric)
Given a
Metric , registers it under the given name. |
Modifier and Type | Method and Description |
---|---|
protected ConcurrentMap<String,Metric> |
MetricRegistry.buildMap()
Creates a new
ConcurrentMap implementation for use inside the registry. |
protected ConcurrentMap<String,Metric> |
NoopMetricRegistry.buildMap()
Creates a new
ConcurrentMap implementation for use inside the registry. |
Map<String,Metric> |
MetricRegistry.getMetrics() |
Map<String,Metric> |
NoopMetricRegistry.getMetrics()
A map of metric names to metrics.
|
Map<String,Metric> |
MetricSet.getMetrics()
A map of metric names to metrics.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MetricFilter.matches(String name,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
Copyright © 2011. All rights reserved.