org.apache.ignite.spi.discovery

## Interface DiscoveryMetricsProvider

-     @GridToStringExclude
      public interface DiscoveryMetricsProvider

  Provides metrics to discovery SPI. It is responsibility of discovery SPI to make sure that all nodes have updated metrics data about each other.

  Ignite implementation will supply discovery SPI with metrics provider via `DiscoverySpi.setMetricsProvider(DiscoveryMetricsProvider)` method.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<Integer,CacheMetrics>` | `cacheMetrics()` Returns metrics data about all caches on local node.
    `ClusterMetrics` | `metrics()` This method always returns up-to-date metrics data about local node.

- - ### Method Detail

    - #### metrics

          ClusterMetrics metrics()

      This method always returns up-to-date metrics data about local node.
      Returns:
        Up to date metrics data about local node.

    - #### cacheMetrics

          Map<Integer,CacheMetrics> cacheMetrics()

      Returns metrics data about all caches on local node.
      Returns:
        metrics data about all caches on local node.

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