Example usage for org.apache.commons.pool2 BasePooledObjectFactory subclass-usage

List of usage examples for org.apache.commons.pool2 BasePooledObjectFactory subclass-usage

Introduction

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

Usage

From source file com.reydentx.core.client.MySqlClientFactory.java

/**
 *
 * @author ducnt3
 */
class MySqlClientFactory extends BasePooledObjectFactory<Connection> {

From source file com.bigdata.conexion.ConexionFactory.java

/**
 *
 * @author jafernandez
 */
public class ConexionFactory extends BasePooledObjectFactory<Connection> {
    // the override method are used internaly by the implementation of ObjectPool

From source file com.puzzle.util.PoolObjectFactory.java

/**
 *
 * @author ljs
 */
public class PoolObjectFactory extends BasePooledObjectFactory<MessageSendExcutor> {

From source file gobblin.metrics.reporter.util.HttpClientFactory.java

/**
 * An implementation of {@link BasePooledObjectFactory} for {@link HttpClient}.
 *
 * @author mitu
 */
public class HttpClientFactory extends BasePooledObjectFactory<HttpClient> {

From source file com.streamsets.pipeline.lib.parser.StringBuilderPoolFactory.java

public class StringBuilderPoolFactory extends BasePooledObjectFactory<StringBuilder> {

    private final int maxObjectLength;

    public StringBuilderPoolFactory(int maxObjectLength) {
        this.maxObjectLength = maxObjectLength;

From source file com.newlandframework.rpc.serialize.hessian.HessianSerializeFactory.java

/**
 * @author tangjie<https://github.com/tang-jie>
 * @filename:HessianSerializeFactory.java
 * @description:HessianSerializeFactory?
 * @blogs http://www.cnblogs.com/jietang/
 * @since 2016/10/7

From source file com.newlandframework.rpc.serialize.protostuff.ProtostuffSerializeFactory.java

/**
 * @author tangjie<https://github.com/tang-jie>
 * @filename:ProtostuffSerializeFactory.java
 * @description:ProtostuffSerializeFactory?
 * @blogs http://www.cnblogs.com/jietang/
 * @since 2016/10/7

From source file edu.harvard.hul.ois.fits.service.pool.FitsWrapperFactory.java

public class FitsWrapperFactory extends BasePooledObjectFactory<FitsWrapper> {

    private static Logger LOG = Logger.getLogger(FitsWrapperFactory.class);

    @Override
    public FitsWrapper create() throws Exception {

From source file com.streamsets.pipeline.stage.origin.udptokafka.UDPMessageSerializerPooledObjectFactory.java

public class UDPMessageSerializerPooledObjectFactory extends BasePooledObjectFactory<UDPMessageSerializer> {

    public UDPMessageSerializerPooledObjectFactory() {
    }

    @Override

From source file com.testtubebaby.artemismain.core.ComponentFactory.java

public class ComponentFactory extends BasePooledObjectFactory<Component>{
    Class<? extends Component> compClass;

    ComponentFactory(Class<? extends Component> compClass) {
        this.compClass = compClass;
    }