List of usage examples for org.apache.commons.pool.impl GenericObjectPool subclass-usage
From source file com.abiquo.api.pools.impl.AMClientPool.java
/** * {@link GenericObjectPool} for {@link AMClient}. */ @Component public class AMClientPool extends GenericObjectPool {
From source file org.opendedup.sdfs.network.HashClientPool.java
public class HashClientPool extends GenericObjectPool { public HashClientPool(HCServer server, String name, int size, byte id) throws IOException { super(new HashClientPoolFactory(server, id)); this.setMaxIdle(size); // Maximum idle threads. this.setMaxActive(size); // Maximum active threads.
From source file org.seasar.karrta.jcr.session.JcrSessionManager.java
/**
* jcr session manager.
*
* @author yosukehara
*
*/
From source file ch.entwine.weblounge.common.impl.site.ActionPool.java
/** * Object pool for {@link Action} instances. */ public final class ActionPool extends GenericObjectPool<Action> { /** Logging facility */
From source file org.broadleafcommerce.openadmin.server.service.persistence.entitymanager.pool.DefaultEntityManagerPool.java
/**
* Created by IntelliJ IDEA.
* User: jfischer
* Date: 7/29/11
* Time: 1:34 PM
* To change this template use File | Settings | File Templates.
From source file org.paxle.core.threading.impl.Pool.java
public class Pool<Data> extends GenericObjectPool implements IPool<Data> { private Log logger = LogFactory.getLog(this.getClass()); private final ReentrantReadWriteLock rwl = new ReentrantReadWriteLock(); private final Lock r = rwl.readLock(); private final Lock w = rwl.writeLock();
From source file com.meidusa.amoeba.net.poolable.GenericObjectPool.java
/**
* A configurable {@link ObjectPool} implementation.
* <p>
* When coupled with the appropriate {@link PoolableObjectFactory},
* <tt>GenericObjectPool</tt> provides robust pooling functionality for
* arbitrary objects.
From source file com.moz.fiji.schema.FijiTableReaderPool.java
/**
* Maintains a pool of opened FijiTableReaders for reuse.
*
* <p>
* FijiTableReaders retrieved from the pool should be closed as normal when no longer needed.
* Closing a FijiTableReader from this pool will return it to the pool and make it available to
From source file org.apache.jackrabbit.oak.security.authentication.ldap.impl.UnboundLdapConnectionPool.java
/**
* A pool implementation for LdapConnection objects.
* <p>
* This class is just a wrapper around the commons GenericObjectPool, and has
* a more meaningful name to represent the pool type.
*/
From source file org.asqatasun.sebuilder.tools.FirefoxDriverObjectPool.java
/**
* FirefoxDriver Object Pool.</br>
* The following parameters are set by spring configuration :
* <ul>
* <li>LIFO</li>
* <li>whenExhaustedAction</li>