The drivers register a single Statement Pool Monitor for each statement pool with the default MBean server of the JVM. The registered MBean name has the following form, where monitor_name is the string returned by the ExtStatementPoolMonitor.getName() method:com.ddtek.jdbc.type=StatementPoolMonitor,name=monitor_nameTo return information about the statement pool, retrieve the names of all MBeans that are registered with the com.ddtek.jdbc domain and search through the list for the StatementPoolMonitor type attribute. The following code shows how to use the standard JMX API calls to return the state of all active statement pools in the JVM:
| © 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |