Note that for a cached query, the cache miss is equals to the db count
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final Lock | |
| private final AtomicLong | |
| private final Lock |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public long | getCacheHitCount()
Implements org. |
| public long | |
| public long | |
| public long | getExecutionAvgTime()
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; iterate and scroll queries do not effect this total as their number of returned rows is not known at execution time.Implements org. org.
and org. do not fill this statistic
|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public String |
| cacheHitCount | back to summary |
|---|---|
| private final AtomicLong cacheHitCount | |
| cacheMissCount | back to summary |
|---|---|
| private final AtomicLong cacheMissCount | |
| cachePutCount | back to summary |
|---|---|
| private final AtomicLong cachePutCount | |
| executionCount | back to summary |
|---|---|
| private final AtomicLong executionCount | |
| executionMaxTime | back to summary |
|---|---|
| private final AtomicLong executionMaxTime | |
| executionMinTime | back to summary |
|---|---|
| private final AtomicLong executionMinTime | |
| executionRowCount | back to summary |
|---|---|
| private final AtomicLong executionRowCount | |
| readLock | back to summary |
|---|---|
| private final Lock readLock | |
| totalExecutionTime | back to summary |
|---|---|
| private final AtomicLong totalExecutionTime | |
| writeLock | back to summary |
|---|---|
| private final Lock writeLock | |
| ConcurrentQueryStatisticsImpl | back to summary |
|---|---|
| pack-priv ConcurrentQueryStatisticsImpl(String query) | |
| executed | back to summary |
|---|---|
| pack-priv 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. | |
| getCachePutCount | back to summary |
|---|---|
| public long getCachePutCount() Implements org. | |
| getExecutionAvgTime | back to summary |
|---|---|
| public long getExecutionAvgTime() Implements org. average time in ms taken by the excution 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 excution of this query onto the DB | |
| getExecutionMinTime | back to summary |
|---|---|
| public long getExecutionMinTime() Implements org. min time in ms taken by the excution 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,
| |
| incrementCacheHitCount | back to summary |
|---|---|
| pack-priv void incrementCacheHitCount() | |
| incrementCacheMissCount | back to summary |
|---|---|
| pack-priv void incrementCacheMissCount() | |
| incrementCachePutCount | back to summary |
|---|---|
| pack-priv void incrementCachePutCount() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |