public class DummyMetricRegistrator extends MetricRegistrator
| Constructor and Description |
|---|
DummyMetricRegistrator() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Unregisters all the metrics registered via this BeanMetricManager instance.
|
MetricRegistrator |
extend(String prefix) |
static MetricRegistrator |
get() |
void |
register(String name,
Metric metric)
Registers the specified metric with the specified metric name.
|
String |
toPath(String... names) |
void |
unregister(String name)
Unregisters the specified metric.
|
void |
unregisterByPrefix(String prefix) |
public MetricRegistrator extend(String prefix)
extend in class MetricRegistratorpublic String toPath(String... names)
toPath in class MetricRegistratorpublic void register(String name, Metric metric)
BeanMetricManagername - Name of metric to registermetric - Metric to registerpublic void unregister(String name)
BeanMetricManagername - Name of metric to unregisterpublic void unregisterByPrefix(String prefix)
unregisterByPrefix in class MetricRegistratorpublic void clear()
BeanMetricManagerpublic static MetricRegistrator get()
Copyright © GigaSpaces.