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