List of usage examples for org.apache.commons.pool.impl GenericObjectPool DEFAULT_MAX_ACTIVE
int DEFAULT_MAX_ACTIVE
To view the source code for org.apache.commons.pool.impl GenericObjectPool DEFAULT_MAX_ACTIVE.
Click Source Link
From source file:org.springframework.aop.target.CommonsPoolTargetSource.java
/** * Create a CommonsPoolTargetSource with default settings. * Default maximum size of the pool is 8. * @see #setMaxSize/* w ww. j a v a2 s . co m*/ * @see GenericObjectPool#setMaxActive */ public CommonsPoolTargetSource() { setMaxSize(GenericObjectPool.DEFAULT_MAX_ACTIVE); }
From source file:org.springframework.jms.listener.serversession.CommonsPoolServerSessionFactory.java
/** * Create a CommonsPoolServerSessionFactory with default settings. * Default maximum size of the pool is 8. * @see #setMaxSize/*from w ww. j ava2 s. c o m*/ * @see GenericObjectPool#setMaxActive */ public CommonsPoolServerSessionFactory() { setMaxSize(GenericObjectPool.DEFAULT_MAX_ACTIVE); }