void logPoolState ( String ... prefix ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "{} - {}stats (total={}, active={}, idle={}, waiting={})" , poolName , ( prefix . length > 0 ? prefix [ 0 ] : "" ) , getTotalConnections ( ) , getActiveConnections ( ) , getIdleConnections ( ) , getThreadsAwaitingConnection ( ) ) ; } }
Log the current pool state at debug level .