我正在尝试使用HikariPoolMXBean来收集连接池指标,并希望弄清楚其中一个指标的含义:
/**
* Get the number of threads awaiting connections from the pool. The return value is extremely transient and is
* a point-in-time measurement.
*
* @return the number of threads awaiting a connection from the pool
*/
int getThreadsAwaitingConnection();在这个指标的上下文中,线程是什么?它是应用程序线程、数据库线程还是其他什么?它是HikariCP内部使用的线程吗?
发布于 2021-02-26 00:20:42
https://stackoverflow.com/questions/66371236
复制相似问题