/** Get the number of active connections in the pool. */
 public int getNumActive() {
   return (pool == null) ? 0 : pool.getNumActive();
 }