org.apache.ignite.cache.query

## Interface QueryMetrics

-     public interface QueryMetrics

  Cache query metrics used to obtain statistics on query.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `averageTime()` Gets average execution time of query.
    `int` | `executions()` Gets total number execution of query.
    `int` | `fails()` Gets total number of times a query execution failed.
    `long` | `maximumTime()` Gets maximum execution time of query.
    `long` | `minimumTime()` Gets minimum execution time of query.

- - ### Method Detail

    - #### minimumTime

          long minimumTime()

      Gets minimum execution time of query.
      Returns:
        Minimum execution time of query.

    - #### maximumTime

          long maximumTime()

      Gets maximum execution time of query.
      Returns:
        Maximum execution time of query.

    - #### averageTime

          double averageTime()

      Gets average execution time of query.
      Returns:
        Average execution time of query.

    - #### executions

          int executions()

      Gets total number execution of query.
      Returns:
        Number of executions.

    - #### fails

          int fails()

      Gets total number of times a query execution failed.
      Returns:
        Total number of times a query execution failed.

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