## Uses of Interface
org.apache.ignite.spi.metric.ReadOnlyMetricRegistry

- Packages that use ReadOnlyMetricRegistry
  Package | Description
  --- | ---
  org.apache.ignite.spi | Contains common classes and interfaces for SPI implementations.
  org.apache.ignite.spi.metric | Contains common classes and interfaces for metric SPI implementations.
  org.apache.ignite.spi.metric.jmx | Contains JMX based implementation of MetricExporterSpi.
  org.apache.ignite.spi.metric.noop | Contains no-op implementation of MetricExporterSpi.

- - ### Uses of ReadOnlyMetricRegistry in org.apache.ignite.spi

    Methods in org.apache.ignite.spi that return ReadOnlyMetricRegistry
    Modifier and Type | Method and Description
    --- | ---
    `ReadOnlyMetricRegistry` | IgniteSpiContext.`getOrCreateMetricRegistry(String name)` Returns existing or newly created instance of metric registry with given name.

    Methods in org.apache.ignite.spi that return types with arguments of type ReadOnlyMetricRegistry
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<ReadOnlyMetricRegistry>` | IgniteSpiContext.`metricRegistries()` Returns all registered metric registries.

    Method parameters in org.apache.ignite.spi with type arguments of type ReadOnlyMetricRegistry
    Modifier and Type | Method and Description
    --- | ---
    `void` | IgniteSpiContext.`addMetricRegistryCreationListener(Consumer<ReadOnlyMetricRegistry> lsnr)` Register listener which will be notified on metric registry creation.

  - ### Uses of ReadOnlyMetricRegistry in org.apache.ignite.spi.metric

    Method parameters in org.apache.ignite.spi.metric with type arguments of type ReadOnlyMetricRegistry
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReadOnlyMetricManager.`addMetricRegistryCreationListener(Consumer<ReadOnlyMetricRegistry> lsnr)` Adds listener of metrics registry creation events.
    `void` | ReadOnlyMetricManager.`addMetricRegistryRemoveListener(Consumer<ReadOnlyMetricRegistry> lsnr)` Adds listener of metrics registry remove events.
    `void` | MetricExporterSpi.`setExportFilter(Predicate<ReadOnlyMetricRegistry> filter)` Sets export filter.

  - ### Uses of ReadOnlyMetricRegistry in org.apache.ignite.spi.metric.jmx

    Methods in org.apache.ignite.spi.metric.jmx with parameters of type ReadOnlyMetricRegistry
    Modifier and Type | Method and Description
    --- | ---
    `static Long` | MetricRegistryMBean.`searchHistogram(String name, ReadOnlyMetricRegistry mreg)` Parse attribute name for a histogram and search it's value.

    Method parameters in org.apache.ignite.spi.metric.jmx with type arguments of type ReadOnlyMetricRegistry
    Modifier and Type | Method and Description
    --- | ---
    `void` | JmxMetricExporterSpi.`setExportFilter(Predicate<ReadOnlyMetricRegistry> filter)` Sets export filter.

    Constructors in org.apache.ignite.spi.metric.jmx with parameters of type ReadOnlyMetricRegistry
    Constructor and Description
    `MetricRegistryMBean(ReadOnlyMetricRegistry mreg)`

  - ### Uses of ReadOnlyMetricRegistry in org.apache.ignite.spi.metric.noop

    Method parameters in org.apache.ignite.spi.metric.noop with type arguments of type ReadOnlyMetricRegistry
    Modifier and Type | Method and Description
    --- | ---
    `void` | NoopMetricExporterSpi.`setExportFilter(Predicate<ReadOnlyMetricRegistry> filter)` Sets export filter.

${current.year} Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.15.0
Release Date | : April 25 2023