public interface QueryStatsModule extends StatsModule
This interface represents a statistic module for a Query. A Query statistic module contains 5 statistics:
QueryManagerMBean.retrieveStatsModule(String)MODULE_TYPE_AGENT, MODULE_TYPE_HASHINDEX, MODULE_TYPE_MAP, MODULE_TYPE_OBJECT_GRID, MODULE_TYPE_QUERY, MODULE_TYPE_SESSION, MODULE_TYPE_UNDEFINED, PATH_DELIMITER| Modifier and Type | Method and Description |
|---|---|
ActiveTimeStatistic |
getPlanCreationTime(boolean copyMode)
Gets the plan creation time statistic for this query.
|
ActiveCountStatistic |
getQueryExecutionCount(boolean copyMode)
Gets the execution count statistic for this query.
|
ActiveTimeStatistic |
getQueryExecutionTime(boolean copyMode)
Gets the execution time statistic for this query.
|
ActiveCountStatistic |
getQueryFailureCount(boolean copyMode)
Gets the failure count statistic for this query.
|
ActiveCountStatistic |
getQueryResultCount(boolean copyMode)
Gets the result count statistic for this query.
|
combine, copy, getPath, getStatsSpec, reset, setGroupModule, statsToString, updateActiveTimeStatistic getPlanCreationTime(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveTimeStatisticActiveTimeStatistic getQueryExecutionTime(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveTimeStatisticActiveCountStatistic getQueryExecutionCount(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveCountStatisticActiveCountStatistic getQueryResultCount(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveCountStatisticActiveCountStatistic getQueryFailureCount(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveCountStatistic