Example usage for org.apache.commons.pool BasePoolableObjectFactory subclass-usage

List of usage examples for org.apache.commons.pool BasePoolableObjectFactory subclass-usage

Introduction

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

Usage

From source file com.eyeq.pivot4j.datasource.OlapConnectionFactory.java

public class OlapConnectionFactory extends BasePoolableObjectFactory<OlapConnection> {

    private Logger logger = LoggerFactory.getLogger(getClass());

    private OlapDataSource dataSource;

From source file io.awacs.agent.NettyChannelFactory.java

/**
 * Created by antong on 16/9/19.
 */
class NettyChannelFactory extends BasePoolableObjectFactory<ChannelFuture> {

    private static final LoggerPlus logger = LoggerPlusFactory.getLogger(NettyClient.class);

From source file com.stainlesscode.mediapipeline.factory.IPacketObjectPoolFactory.java

public class IPacketObjectPoolFactory extends BasePoolableObjectFactory {

    private Lock nativeLock = new ReentrantLock(false);

    //   @Override
    //    public void passivateObject(Object obj) { 

From source file com.stainlesscode.mediapipeline.factory.IAudioSamplesObjectPoolFactory.java

public class IAudioSamplesObjectPoolFactory extends BasePoolableObjectFactory {

    private int bufferSize;
    private int channels;
    private Lock nativeLock = new ReentrantLock(false);

From source file org.codelabor.system.remoting.tcp.factories.SocketPoolFactory.java

/**
 * @author Shin Sangjae
 * 
 */
public class SocketPoolFactory extends BasePoolableObjectFactory {

From source file com.abiquo.api.pools.PoolableRemoteServiceClientFactory.java

/**
 * base class for factories to create remote service clients that will be placed in the pool.
 * 
 * @author Ignasi Barrera
 */
public abstract class PoolableRemoteServiceClientFactory extends BasePoolableObjectFactory {

From source file com.gumgum.kafka.consumer.KafkaConsumerFactory.java

/**
 * Connection Factory for Kafka Consumers.
 *
 * @author Vaibhav Puranik
 */
@ManagedResource(objectName = "GumGum:name=kafkaConsumerFactory", description = "Initialize Consumer Configuration")

From source file com.fjn.helper.frameworkex.apache.commons.pool.connectionPool.ConnectionFactory.java

public class ConnectionFactory extends BasePoolableObjectFactory {
    private String driverClass;
    private String username;
    private String password;
    private String url;

From source file org.tinygroup.rpc.RMIFactory.java

public class RMIFactory extends BasePoolableObjectFactory {
    private static Logger logger = LoggerFactory.getLogger(RMIFactory.class);
    private Node node;

    public RMIFactory(Node node) {
        this.node = node;

From source file com.stainlesscode.mediapipeline.factory.IVideoPictureObjectPoolFactory.java

public class IVideoPictureObjectPoolFactory extends BasePoolableObjectFactory {

    private Type pixelType;
    private int width;
    private int height;
    private Lock nativeCodeLock = new ReentrantLock(false);