Ejemplo n.º 1
0
 public synchronized int getNumThreadsAllThreadPools() throws SQLException {
   int count = 0;
   for (Iterator ii = unclosedPooledDataSources.iterator(); ii.hasNext(); ) {
     PooledDataSource pds = (PooledDataSource) ii.next();
     count += pds.getNumHelperThreads();
   }
   return count;
 }