mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add stat PreparedStatementCacheAccessCount
This commit is contained in:
@@ -49,6 +49,7 @@ public class PreparedStatementPool {
|
||||
|
||||
if (holder != null) {
|
||||
holder.incrementReusedCount();
|
||||
dataSource.incrementCachedPreparedStatementHitCount();
|
||||
} else {
|
||||
dataSource.incrementCachedPreparedStatementMissCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user