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 MetricRegistrator
public String toPath(String... names)
toPath
in class MetricRegistrator
public void register(String name, Metric metric)
BeanMetricManager
name
- Name of metric to registermetric
- Metric to registerpublic void unregister(String name)
BeanMetricManager
name
- Name of metric to unregisterpublic void unregisterByPrefix(String prefix)
unregisterByPrefix
in class MetricRegistrator
public void clear()
BeanMetricManager
public static MetricRegistrator get()
Copyright © GigaSpaces.