Example #1
0
 public static DBI getDbi() {
   log.debug("connection pool info");
   log.debug(
       "Max: {} Active: {}, Idle: {}",
       connectionPool.getMaxActive(),
       connectionPool.getNumActive(),
       connectionPool.getNumIdle());
   return dbi;
 }
Example #2
0
 /** @return The current maximum number of allowable active transformer objects in the pool */
 public int getMaxActiveTransformers() {
   return transformerPool.getMaxActive();
 }
Example #3
0
 /** @see org.geotools.arcsde.session.ISessionPool#getAvailableCount() */
 public synchronized int getAvailableCount() {
   checkOpen();
   return pool.getMaxActive() - pool.getNumActive();
 }
Example #4
0
 /*
  * (non-Javadoc)
  *
  * @see org.geotools.arcsde.session.ISessionPool#getPoolSize()
  */
 public int getPoolSize() {
   checkOpen();
   return pool.getMaxActive();
 }
 public int getMaxPoolSize() {
   return pool.getMaxActive();
 }