Note that for a cached query, the cache miss is equals to the db count
| Modifier and Type | Field and Description |
|---|---|
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final AtomicLong | |
| private final String | |
| private final Lock | |
| private final AtomicLong | |
| private final Lock |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | |
| public long | getCacheHitCount()
Implements org. |
| public long | getCacheMissCount()
Implements org. |
| public long | getCachePutCount()
Implements org. |
| public long | getExecutionAvgTime()
Implements org. |
| public double | getExecutionAvgTimeAsDouble()
Implements org. |
| public long | getExecutionCount()
Implements org. |
| public long | getExecutionMaxTime()
Implements org. |
| public long | getExecutionMinTime()
Implements org. |
| public long | Returns: The number of rows cumulatively returned by the given query; stream and scroll queries do not effect this total as their number of returned rows is not known at execution time.Implements org. Query#stream()}
and Query#scroll() do not fill this statistic
|
| public long | getExecutionTotalTime()
Implements org. |
| public long | getPlanCacheHitCount()
Overrides default org. |
| public long | getPlanCacheMissCount()
Overrides default org. |
| public long | getPlanCompilationTotalMicroseconds()
Overrides default org. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public String |
| cacheHitCount | back to summary |
|---|---|
| private final LongAdder cacheHitCount | |
| cacheMissCount | back to summary |
|---|---|
| private final LongAdder cacheMissCount | |
| cachePutCount | back to summary |
|---|---|
| private final LongAdder cachePutCount | |
| executionCount | back to summary |
|---|---|
| private final LongAdder executionCount | |
| executionMaxTime | back to summary |
|---|---|
| private final AtomicLong executionMaxTime | |
| executionMinTime | back to summary |
|---|---|
| private final AtomicLong executionMinTime | |
| executionRowCount | back to summary |
|---|---|
| private final LongAdder executionRowCount | |
| planCacheHitCount | back to summary |
|---|---|
| private final LongAdder planCacheHitCount | |
| planCacheMissCount | back to summary |
|---|---|
| private final LongAdder planCacheMissCount | |
| planCompilationTotalMicroseconds | back to summary |
|---|---|
| private final AtomicLong planCompilationTotalMicroseconds | |
| query | back to summary |
|---|---|
| private final String query | |
| readLock | back to summary |
|---|---|
| private final Lock readLock | |
| totalExecutionTime | back to summary |
|---|---|
| private final AtomicLong totalExecutionTime | |
| writeLock | back to summary |
|---|---|
| private final Lock writeLock | |
| QueryStatisticsImpl | back to summary |
|---|---|
| public QueryStatisticsImpl(String query) | |
| compiled | back to summary |
|---|---|
| pack-priv void compiled(long microseconds) add plan statistics report of a DB query
| |
| executed | back to summary |
|---|---|
| public void executed(long rows, long time) add statistics report of a DB query
| |
| getCacheHitCount | back to summary |
|---|---|
| public long getCacheHitCount() Implements org. Queries retrieved successfully from the cache | |
| getCacheMissCount | back to summary |
|---|---|
| public long getCacheMissCount() Implements org. Doc from org. The number of cache misses for this query | |
| getCachePutCount | back to summary |
|---|---|
| public long getCachePutCount() Implements org. Doc from org. The number of cache puts for this query | |
| getExecutionAvgTime | back to summary |
|---|---|
| public long getExecutionAvgTime() Implements org. average time in ms taken by the execution of this query onto the DB | |
| getExecutionAvgTimeAsDouble | back to summary |
|---|---|
| public double getExecutionAvgTimeAsDouble() Implements org. average time in ms as double taken by the execution of this query onto the DB | |
| getExecutionCount | back to summary |
|---|---|
| public long getExecutionCount() Implements org. queries executed to the DB | |
| getExecutionMaxTime | back to summary |
|---|---|
| public long getExecutionMaxTime() Implements org. max time in ms taken by the execution of this query onto the DB | |
| getExecutionMinTime | back to summary |
|---|---|
| public long getExecutionMinTime() Implements org. min time in ms taken by the execution of this query onto the DB | |
| getExecutionRowCount | back to summary |
|---|---|
| public long getExecutionRowCount() Implements org. Number of lines returned by all the executions of this query (from DB)
For now,
| |
| getExecutionTotalTime | back to summary |
|---|---|
| public long getExecutionTotalTime() Implements org. total time in ms taken by the execution of this query onto the DB | |
| getPlanCacheHitCount | back to summary |
|---|---|
| public long getPlanCacheHitCount() Overrides default org. Query plan successfully fetched from the cache | |
| getPlanCacheMissCount | back to summary |
|---|---|
| public long getPlanCacheMissCount() Overrides default org. Query plan not fetched from the cache | |
| getPlanCompilationTotalMicroseconds | back to summary |
|---|---|
| public long getPlanCompilationTotalMicroseconds() Overrides default org. Query plan overall compiled total | |
| incrementCacheHitCount | back to summary |
|---|---|
| pack-priv void incrementCacheHitCount() | |
| incrementCacheMissCount | back to summary |
|---|---|
| pack-priv void incrementCacheMissCount() | |
| incrementCachePutCount | back to summary |
|---|---|
| pack-priv void incrementCachePutCount() | |
| incrementPlanCacheHitCount | back to summary |
|---|---|
| pack-priv void incrementPlanCacheHitCount() | |
| incrementPlanCacheMissCount | back to summary |
|---|---|
| pack-priv void incrementPlanCacheMissCount() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |