List of usage examples for org.apache.commons.pool PoolableObjectFactory interface-usage
From source file org.workin.fastdfs.factory.DefaultPoolableTrackerServerFactory.java
/** * @description ?TrackerServer * @author <a href="mailto:code727@gmail.com">?</a> * @version 1.0 */ public class DefaultPoolableTrackerServerFactory implements PoolableObjectFactory<TrackerServer> {
From source file org.wso2.carbon.transport.http.netty.sender.channel.pool.PoolableTargetChannelFactoryPerSrcHndlr.java
/** * A class which creates a TargetChannel pool for each route. */ public class PoolableTargetChannelFactoryPerSrcHndlr implements PoolableObjectFactory { private static final Logger log = LoggerFactory.getLogger(PoolableTargetChannelFactoryPerSrcHndlr.class);
From source file net.ontopia.topicmaps.impl.utils.StorePoolableObjectFactory.java
/**
* INTERNAL: A commons-pool PoolableObjectFactory that uses a
* TopicMapStoreFactoryIF to create TopicMapStoreIF objects. This
* class must be used with a commons-pool pool instance.
*
* @since 2.1
From source file org.apache.camel.component.rabbitmq.pool.PoolableChannelFactory.java
/** * Channel lifecycle manager: create, check and close channel */ public class PoolableChannelFactory implements PoolableObjectFactory<Channel> { /**
From source file com.nxttxn.vramel.components.rabbitMQ.pool.PoolableChannelFactory.java
/** * Channel lifecycle manager: create, check and close channel */ public class PoolableChannelFactory implements PoolableObjectFactory<Channel> { /**
From source file edu.illinois.enforcemop.examples.apache.pool.VisitTrackerFactory.java
/**
* Factory that creates VisitTracker instances. Used to
* test Evictor runs.
*
*/
From source file org.apache.metamodel.jdbc.JdbcCompiledQueryLeaseFactory.java
/** * Factory for the object pool of {@link JdbcCompiledQueryLease}s. */ final class JdbcCompiledQueryLeaseFactory implements PoolableObjectFactory<JdbcCompiledQueryLease> { private final JdbcDataContext _dataContext;
From source file com.flipkart.phantom.thrift.impl.proxy.SocketObjectFactory.java
/**
* <code>SocketObjectFactory</code> is a @link{PoolableObjectFactory} for Socket instances meant to be used with {@link org.apache.commons.pool.impl.GenericObjectPool}
* It is initialized with a Thrift proxy or it's parameters and is passed onto a GenericObjectPool object
*
* @author devashishshankar
* @author Regunath B
From source file org.eobjects.analyzer.util.ws.ConnectionPoolObjectFactory.java
/**
* Very simple implementation of {@link PoolableObjectFactory}. Since the
* connection pool in {@link OldServiceSession} does not really need to use the
* objects for anything, except restricting the amount of active connections, we
* simply create unique integers as pool objects.
*/
From source file org.bml.util.elasticconsumer.example.TestWorkerThreadObjectFactory.java
/** An Example implementation of an ObjectFactory<TestWorkerThread> for the test rig. * @author BML */ public class TestWorkerThreadObjectFactory implements PoolableObjectFactory<TestWorkerThread> { /**This input queue. this is only used in the factory for TestWorkerThread initialization*/