org.apache.ignite.spi.metric

## Interface Metric

- All Known Subinterfaces:
    BooleanMetric, DoubleMetric, HistogramMetric, IntMetric, LongMetric, ObjectMetric<T>

      public interface Metric

  Base interface for all metrics.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `description()`
    `@Nullable String` | `getAsString()`
    `String` | `name()`
    `default void` | `reset()` Resets metric state.

- - ### Method Detail

    - #### name

          String name()

      Returns:
        Name of the metric.

    - #### description

          String description()

      Returns:
        Description of the metric.

    - #### getAsString

          @Nullable
          @Nullable String getAsString()

      Returns:
        String representation of metric value.

    - #### reset

          default void reset()

      Resets metric state.

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