org.apache.ignite.spi.metric

## Interface LongMetric

- All Superinterfaces:
    Metric

      public interface LongMetric
      extends Metric

  Interface for the metrics that holds long primitive.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default String` | `getAsString()`
    `long` | `value()`

    - ### Methods inherited from interface org.apache.ignite.spi.metric.Metric

      `description, name, reset`

- - ### Method Detail

    - #### value

          long value()

      Returns:
        Value of the metric.

    - #### getAsString

          default String getAsString()

      Specified by:
        `getAsString` in interface `Metric`
      Returns:
        String representation of metric value.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.12.0
Release Date | : January 10 2022