Package org.apache.ignite.spi.metric.jmx
Class MetricRegistryMBean
- java.lang.Object
- 
- org.apache.ignite.spi.metric.jmx.ReadOnlyDynamicMBean
- 
- org.apache.ignite.spi.metric.jmx.MetricRegistryMBean
 
 
- 
- All Implemented Interfaces:
- DynamicMBean
 
 public class MetricRegistryMBean extends ReadOnlyDynamicMBean MBean for exporting values of metric registry.
- 
- 
Constructor SummaryConstructors Constructor Description MetricRegistryMBean(ReadOnlyMetricRegistry mreg)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String attr)MBeanInfogetMBeanInfo()static LongsearchHistogram(String name, ReadOnlyMetricRegistry mreg)Parse attribute name for a histogram and search it's value.- 
Methods inherited from class org.apache.ignite.spi.metric.jmx.ReadOnlyDynamicMBeangetAttributes, invoke, setAttribute, setAttributes
 
- 
 
- 
- 
- 
Constructor Detail- 
MetricRegistryMBeanpublic MetricRegistryMBean(ReadOnlyMetricRegistry mreg) - Parameters:
- mreg- Metric registry.
 
 
- 
 - 
Method Detail- 
getMBeanInfopublic MBeanInfo getMBeanInfo() 
 - 
searchHistogrampublic static Long searchHistogram(String name, ReadOnlyMetricRegistry mreg) Parse attribute name for a histogram and search it's value.- Parameters:
- name- Attribute name.
- mreg- Metric registry to search histogram in.
- Returns:
- Specific bucket value or nullif not found.
- See Also:
- MetricUtils.histogramBucketNames(HistogramMetric)
 
 
- 
 
-