Example usage for org.apache.commons.pool ObjectPool interface-usage

List of usage examples for org.apache.commons.pool ObjectPool interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.pool ObjectPool interface-usage.

Usage

From source file org.quickserver.util.pool.QSObjectPool.java

/**
 * This interface defines ObjectPool that QuickServer needs.
 * @since 1.4.5
 */
public interface QSObjectPool extends ObjectPool {
    /** Returns the iterator of all active objects */

From source file com.meidusa.amoeba.net.poolable.ObjectPool.java

/**
 * 
 * @author struct
 *
 */
public interface ObjectPool extends org.apache.commons.pool.ObjectPool {

From source file org.apache.camel.component.netty.SharedSingletonObjectPool.java

/**
 * An {@link org.apache.commons.pool.ObjectPool} that uses a single shared instance.
 * <p/>
 * This implementation will always return <tt>1</tt> in {@link #getNumActive()} and
 * return <tt>0</tt> in {@link #getNumIdle()}.
 */

From source file org.apache.camel.component.netty4.SharedSingletonObjectPool.java

/**
 * An {@link org.apache.commons.pool.ObjectPool} that uses a single shared instance.
 * <p/>
 * This implementation will always return <tt>1</tt> in {@link #getNumActive()} and
 * return <tt>0</tt> in {@link #getNumIdle()}.
 */

From source file org.mule.util.pool.CommonsPoolObjectPool.java

/**
 * <code>CommonsPoolProxyPool</code> is an implementation of {@link ObjectPool}
 * that internally uses the commons-pool {@link GenericObjectPool} and uses a
 * {@link ObjectFactory} for creating new pooled instances.
 */
public class CommonsPoolObjectPool implements ObjectPool {

From source file org.batoo.jpa.core.pool.GenericPool.java

/**
 * FIXME requires proper implementation
 * 
 * @param <T>
 *            the type of the pool
 * 

From source file com.meidusa.amoeba.net.poolable.MultipleLoadBalanceObjectPool.java

/**
 * <pre>
 * Pool failoverHA
 * Load Balance ObjectPoolobject {@link PoolableObject}
 * 2
 * <li>poolpool</li>

From source file org.orbeon.oxf.util.SoftReferenceObjectPool.java

/**
 * A {@link java.lang.ref.SoftReference SoftReference} based
 * {@link ObjectPool}.
 *
 * @param <T> the type of objects held in this pool
 *

From source file org.helios.collector.jmx.connection.MBeanServerConnectionPool.java

/**
 * <p>Title: MBeanServerConnectionPool</p>
 * <p>Description: A simple pool for MBeanServerConnections to field MBeanServerConnection proxy requests </p> 
 * <p>Company: Helios Development Group LLC</p>
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * @version $LastChangedRevision$

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.