List of usage examples for org.apache.commons.pool KeyedPoolableObjectFactory interface-usage
From source file co.nubetech.crux.pool.HBaseConnectionPoolFactory.java
public class HBaseConnectionPoolFactory implements KeyedPoolableObjectFactory { private final static Logger logger = Logger.getLogger(co.nubetech.crux.pool.HBaseConnectionPoolFactory.class); @Override public void activateObject(Object arg0, Object arg1) throws Exception {
From source file co.nubetech.crux.pool.rest.HBaseConnectionPoolFactory.java
public class HBaseConnectionPoolFactory implements KeyedPoolableObjectFactory { private final static Logger logger = Logger.getLogger(co.nubetech.crux.pool.HBaseConnectionPoolFactory.class); public Cluster getCluster(Connection conn) { Cluster cluster = new Cluster();
From source file voldemort.store.socket.SocketPoolableObjectFactory.java
/**
* A Factory for creating sockets
*
* @author jay
*
*/
From source file edu.illinois.enforcemop.examples.apache.pool.VisitTrackerFactory.java
/**
* Factory that creates VisitTracker instances. Used to
* test Evictor runs.
*
*/
From source file au.org.intersect.dms.wn.TransportFactory.java
/** * Factory/pool to get connection to server. */ public interface TransportFactory extends KeyedPoolableObjectFactory { /**
From source file com.alibaba.otter.shared.communication.core.impl.connection.CommunicationConnectionPoolableFactory.java
/** * ?, @see {@linkplain GenericObjectPool} , {@linkplain PoolableObjectFactory} * * @author jianghang 2011-9-9 ?05:00:15 */ public class CommunicationConnectionPoolableFactory implements KeyedPoolableObjectFactory {
From source file com.smartwork.client.im.CommonSocketFactory.java
public class CommonSocketFactory implements KeyedPoolableObjectFactory { private NetworkConfig networkConfig; public CommonSocketFactory(NetworkConfig networkConfig) { super(); this.networkConfig = networkConfig;
From source file com.smartwork.client.socket.CommonSocketFactory.java
public class CommonSocketFactory implements KeyedPoolableObjectFactory { private NetworkConfig networkConfig; public CommonSocketFactory(NetworkConfig networkConfig) { super(); this.networkConfig = networkConfig;
From source file com.smartwork.client.gsocket.CommonSocketFactory.java
public class CommonSocketFactory implements KeyedPoolableObjectFactory { private NetworkConfig networkConfig; public CommonSocketFactory(NetworkConfig networkConfig) { super(); this.networkConfig = networkConfig;
From source file edu.illinois.imunit.examples.apache.pool.VisitTrackerFactory.java
/** * Factory that creates VisitTracker instances. Used to * test Evictor runs. * */ @RunWith(IMUnitRunner.class)