org.apache.ignite.spi.metric

## Interface ReadOnlyMetricManager

- All Superinterfaces:
    Iterable<ReadOnlyMetricRegistry>

      public interface ReadOnlyMetricManager
      extends Iterable<ReadOnlyMetricRegistry>

  Read only metric manager.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addMetricRegistryCreationListener(Consumer<ReadOnlyMetricRegistry> lsnr)` Adds listener of metrics registry creation events.
    `void` | `addMetricRegistryRemoveListener(Consumer<ReadOnlyMetricRegistry> lsnr)` Adds listener of metrics registry remove events.

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### addMetricRegistryCreationListener

          void addMetricRegistryCreationListener(Consumer<ReadOnlyMetricRegistry> lsnr)

      Adds listener of metrics registry creation events.
      Parameters:
        `lsnr` - Listener.

    - #### addMetricRegistryRemoveListener

          void addMetricRegistryRemoveListener(Consumer<ReadOnlyMetricRegistry> lsnr)

      Adds listener of metrics registry remove events.
      Parameters:
        `lsnr` - Listener.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021