Package | Description |
---|---|
com.espertech.esper.runtime.internal.metrics.codahale_metrics.metrics.core |
Metrics core (Codehale).
|
com.espertech.esper.runtime.internal.metrics.codahale_metrics.metrics.reporting |
Metrics reporting (Codehale).
|
com.espertech.esper.runtime.internal.metrics.codahale_metrics.metrics.util |
Metrics util classes (Codehale).
|
Modifier and Type | Interface and Description |
---|---|
interface |
Metered
An object which maintains mean and exponentially-weighted rate.
|
Modifier and Type | Class and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
protected <T extends Metric> |
MetricsRegistry.getOrAdd(MetricName name,
T metric)
Gets any existing metric with the given name or, if none exists, adds the given metric.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
void |
JmxReporter.onMetricAdded(MetricName name,
Metric metric) |
Modifier and Type | Class and Description |
---|---|
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 © 2005–2018. All rights reserved.