code: public int getAllConnectionNumber(DataSource aPooledDataSource) throws SQLException {
          PooledDataSource pDs = (PooledDataSource) aPooledDataSource;
          return pDs.getNumConnectionsAllUsers();
      }
docs: The followings are only for testing purpose