• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Determining connection pool count?

 
Skanda Siva
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please let me know if connection count be determined dynamically through program?

I wanted to know this as I want to see if my connections are returning back to the pool after my transaction is completed. If there is any other way to determine this, please advise me.

Appreciate your help. Thank you
.
 
Paul Clapham
Sheriff
Posts: 21559
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's quite likely that your connection pool has a method which returns statistics like that. But check its documentation to make certain. Of course you would need a link to the connection pool instance which is actually doing the pooling -- if your code is starting the pool, then just hang onto a reference to the pool for later use.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic