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.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.0
Release Date | : October 15 2020