public class MetricRegistryMBean extends ReadOnlyDynamicMBean
Constructor and Description |
---|
MetricRegistryMBean(ReadOnlyMetricRegistry mreg) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attribute) |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
static Long |
searchHistogram(String name,
ReadOnlyMetricRegistry mreg)
Parse attribute name for a histogram and search it's value.
|
getAttributes, setAttribute, setAttributes
public MetricRegistryMBean(ReadOnlyMetricRegistry mreg)
mreg
- Metric registry.public MBeanInfo getMBeanInfo()
public Object invoke(String actionName, Object[] params, String[] signature)
invoke
in interface DynamicMBean
invoke
in class ReadOnlyDynamicMBean
public static Long searchHistogram(String name, ReadOnlyMetricRegistry mreg)
name
- Attribute name.mreg
- Metric registry to search histogram in.null
if not found.MetricUtils.histogramBucketNames(HistogramMetric)
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024