QueryStatistics (Apache Geode 1.6.0)
Date: 2018-04-23

org.apache.geode.cache.query

## Interface QueryStatistics

-     public interface QueryStatistics

  Provides statistical information about a query performed on a GemFire `Region`.
  Since:
    GemFire 4.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getNumExecutions()` Returns the total number of times the query has been executed.
    `long` | `getTotalExecutionTime()` Returns the total amount of time (in nanoseconds) spent executing the query.

- - ### Method Detail

    - #### getNumExecutions

          long getNumExecutions()

      Returns the total number of times the query has been executed.

    - #### getTotalExecutionTime

          long getTotalExecutionTime()

      Returns the total amount of time (in nanoseconds) spent executing the query.