Package 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
Modifier and TypeMethodDescriptionlongReturns the total number of times the query has been executed.longReturns the total amount of time (in nanoseconds) spent executing the query.
-
Method Details
-
getNumExecutions
long getNumExecutions()Returns the total number of times the query has been executed.- 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.- Returns:
- the total amount of time (in nanoseconds) spent executing the query
-