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

- Packages that use ReadOnlyMetricRegistry
  Package | Description
  --- | ---
  org.apache.ignite.metric | Contains interfaces for updatable custom and read-only internal metrics.
  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.metric

    Subinterfaces of ReadOnlyMetricRegistry in org.apache.ignite.metric
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `MetricRegistry` | Metric registry.

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

    Methods in org.apache.ignite.spi that return ReadOnlyMetricRegistry
    Modifier and Type | Method | 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 | 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 | 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

    Methods in org.apache.ignite.spi.metric with parameters of type ReadOnlyMetricRegistry
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | RegexpMetricFilter.`test​(ReadOnlyMetricRegistry mreg)`

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

    Constructors in org.apache.ignite.spi.metric.jmx with parameters of type ReadOnlyMetricRegistry
    Constructor | 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 | Description
    --- | --- | ---
    `void` | NoopMetricExporterSpi.`setExportFilter​(Predicate<ReadOnlyMetricRegistry> filter)` | Sets export filter.