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.