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