| 限定符和类型 | 方法和说明 |
|---|---|
Histogram |
NOPMetricManager.getHistogram(String group,
MetricName name) |
Histogram |
IMetricManager.getHistogram(String group,
MetricName name)
Create a
Histogram metric in given group, and name. |
static Histogram |
MetricManager.getHistogram(String group,
MetricName name)
Create a
Histogram metric in given group, and name. |
Histogram |
NOPMetricManager.getHistogram(String group,
MetricName name,
ReservoirType type) |
Histogram |
IMetricManager.getHistogram(String group,
MetricName name,
ReservoirType type)
Create a
Histogram metric in given group, name, and type
if not exist, an instance will be created. |
static Histogram |
MetricManager.getHistogram(String group,
MetricName name,
ReservoirType type)
Create a
Histogram metric in given group, name, and ReservoirType type. |
abstract Histogram |
MetricRegistry.histogram(MetricName name)
|
abstract Histogram |
MetricRegistry.histogram(MetricName name,
ReservoirType type)
Create a histogram with given name, and reservoir type
|
abstract Histogram |
MetricRegistry.histogram(String name)
Creates a new
Histogram and registers it under the given name. |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract SortedMap<MetricName,Histogram> |
MetricRegistry.getHistograms()
Returns a map of all the histograms in the registry and their names.
|
abstract SortedMap<MetricName,Histogram> |
MetricRegistry.getHistograms(MetricFilter filter)
Returns a map of all the histograms in the registry and their names which match the given
filter.
|
SortedMap<MetricName,Histogram> |
NOPMetricManager.getHistograms(String group,
MetricFilter filter) |
SortedMap<MetricName,Histogram> |
IMetricManager.getHistograms(String group,
MetricFilter filter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Collector.collect(MetricName name,
Histogram histogram,
long timestamp) |
void |
MetricRegistryListener.onHistogramAdded(MetricName name,
Histogram histogram)
Called when a
Histogram is added to the registry. |
void |
MetricRegistryListener.Base.onHistogramAdded(MetricName name,
Histogram histogram) |
Copyright © 2019. All rights reserved.