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