Show / Hide Table of Contents

# Interface IQueryMetrics

Cache query metrics used to obtain statistics on query.

###### Namespace: Apache.Ignite.Core.Cache

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface IQueryMetrics

### Properties

#### AverageTime

Gets average execution time of query.

##### Declaration

    double AverageTime { get; }

##### Property Value

Type | Description
--- | ---
System.Double | Average execution time of query.

#### Executions

Gets total number execution of query.

##### Declaration

    int Executions { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 | Number of executions.

#### Fails

Gets total number of times a query execution failed.

##### Declaration

    int Fails { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 | Total number of times a query execution failed.

#### MaximumTime

Gets maximum execution time of query.

##### Declaration

    long MaximumTime { get; }

##### Property Value

Type | Description
--- | ---
System.Int64 | Maximum execution time of query.

#### MinimumTime

Gets minimum execution time of query.

##### Declaration

    long MinimumTime { get; }

##### Property Value

Type | Description
--- | ---
System.Int64 | Minimum execution time of query.