List of usage examples for org.apache.commons.pool2 BaseKeyedPooledObjectFactory subclass-usage
From source file io.github.hiant.ConnectionFactory.java
/** * @author heihuwudi@gmail.com Created By: 2016.1.28.11:24 */ public class ConnectionFactory extends BaseKeyedPooledObjectFactory<Configuration, Connection> { @Override
From source file com.magnet.mmx.server.plugin.mmxmgmt.apns.StubAPNSConnectionKeyedPooledObjectFactory.java
/** * Stub factory */ class StubAPNSConnectionKeyedPooledObjectFactory extends BaseKeyedPooledObjectFactory<APNSConnectionPoolImpl.APNSConnectionKey, APNSConnection> { private static Logger LOGGER = LoggerFactory.getLogger(StubAPNSConnectionKeyedPooledObjectFactory.class);
From source file com.heliosapm.easymq.pool.PCFAgentPooledObjectFactory.java
/**
* <p>Title: PCFAgentPooledObjectFactory</p>
* <p>Description: Pooled object factory to fuel pcf message agent pools</p>
* <p>Company: Helios Development Group LLC</p>
* @author Whitehead (nwhitehead AT heliosdev DOT org)
* <p><code>com.heliosapm.easymq.PCFAgentPooledObjectFactory</code></p>
From source file net.sheehantech.cherry.pool.KeyedPooledPushSocketFactory.java
public class KeyedPooledPushSocketFactory<K> extends BaseKeyedPooledObjectFactory<K, PooledPushSocket> { private Logger logger = LoggerFactory.getLogger(KeyedPooledPushSocketFactory.class); private Map<K, SSLSocketFactory> socketFactories; private Map<K, String> gateways;
From source file com.google.devtools.build.lib.worker.WorkerFactory.java
/** * Factory used by the pool to create / destroy / validate worker processes. */ final class WorkerFactory extends BaseKeyedPooledObjectFactory<WorkerKey, Worker> { // It's fine to use an AtomicInteger here (which is 32-bit), because it is only incremented when
From source file org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory.java
/** * Pool Factory of {@link SocketOutputStream} * @since 2.13 */ public class SocketOutputStreamPoolFactory extends BaseKeyedPooledObjectFactory<SocketConnectionInfos, SocketOutputStream>
From source file org.geosdi.geoplatform.connector.api.pool.GPPoolConnectorFactory.java
/** * @author Giuseppe La Scaleia - CNR IMAA geoSDI Group * @email giuseppe.lascaleia@geosdi.org */ public abstract class GPPoolConnectorFactory<K extends GPPoolConnectorKey, C extends GeoPlatformConnector> extends BaseKeyedPooledObjectFactory<K, C> {
From source file org.geosdi.geoplatform.jaxb.pool.factory.GPJAXBContextCachePoolFactory.java
/** * @author Giuseppe La Scaleia - CNR IMAA geoSDI Group * @email giuseppe.lascaleia@geosdi.org */ public class GPJAXBContextCachePoolFactory extends BaseKeyedPooledObjectFactory<GPJAXBContextCachePool, JAXBContext> {
From source file org.jmxtrans.embedded.util.pool.SocketOutputStreamPoolFactory.java
/** * Factory for {@linkplain org.jmxtrans.embedded.util.net.SocketOutputStream} instances created from {@linkplain HostAndPort}. * * @author <a href="mailto:cleclerc@cloudbees.com">Cyrille Le Clerc</a> */ public class SocketOutputStreamPoolFactory extends BaseKeyedPooledObjectFactory<HostAndPort, SocketOutputStream>
From source file org.jmxtrans.embedded.util.pool.SocketWriterPoolFactory.java
/** * Factory for {@linkplain SocketWriter} instances created from {@linkplain HostAndPort}. * * @author <a href="mailto:cleclerc@cloudbees.com">Cyrille Le Clerc</a> */ public class SocketWriterPoolFactory extends BaseKeyedPooledObjectFactory<HostAndPort, SocketWriter>