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

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

Introduction

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

Usage

From source file org.wso2.carbon.stream.processor.core.ha.transport.EventSyncConnectionPoolFactory.java

/**
 * The abstract class that needs to be implemented when supporting a new non-secure transport
 * to mainly create, validate and terminate  the client to the endpoint.
 */

public class EventSyncConnectionPoolFactory extends BaseKeyedPoolableObjectFactory {

From source file com.btmatthews.atlas.jcr.impl.PoolableSessionFactory.java

/**
 * A factory that creates poolable sessions used to connect to the Java Content
 * Repository.
 */
public final class PoolableSessionFactory extends BaseKeyedPoolableObjectFactory<String, Session> {

From source file fm.last.moji.tracker.pool.BorrowedTrackerObjectPoolFactory.java

class BorrowedTrackerObjectPoolFactory extends BaseKeyedPoolableObjectFactory<ManagedTrackerHost, BorrowedTracker> {

    private static final Logger log = LoggerFactory.getLogger(BorrowedTrackerObjectPoolFactory.class);

    private final AbstractTrackerFactory trackerFactory;
    private final MultiHostTrackerPool trackerPool;

From source file org.exist.util.serializer.SerializerObjectFactory.java

/**
 * @author wolf
 *
 */
public class SerializerObjectFactory extends BaseKeyedPoolableObjectFactory {

From source file org.wso2.carbon.databridge.agent.internal.client.AbstractClientPoolFactory.java

public abstract class AbstractClientPoolFactory extends BaseKeyedPoolableObjectFactory {
    @Override
    public Object makeObject(Object key) throws DataEndpointException, DataEndpointAgentSecurityException {
        Object[] urlParams = HADataPublisherUtil.getProtocolHostPort(key.toString());
        return createClient(urlParams[0].toString(), urlParams[1].toString(),
                Integer.parseInt(urlParams[2].toString()));

From source file com.baifendian.swordfish.common.hive.service2.HiveService2PoolFactory.java

public class HiveService2PoolFactory extends BaseKeyedPoolableObjectFactory {

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

    /**
     * ?

From source file com.glaf.activiti.executionlistener.factory.PooledObjectFactory.java

@SuppressWarnings("rawtypes")
public class PooledObjectFactory extends BaseKeyedPoolableObjectFactory {
    protected static final Log logger = LogFactory.getLog(PooledObjectFactory.class);

    private static int count = 0;

From source file com.glaf.activiti.tasklistener.factory.PooledObjectFactory.java

@SuppressWarnings({ "rawtypes" })
public class PooledObjectFactory extends BaseKeyedPoolableObjectFactory {
    protected static final Log logger = LogFactory.getLog(PooledObjectFactory.class);

    private static int count = 0;

From source file com.glaf.jbpm.factory.JbpmPooledObjectFactory.java

@SuppressWarnings({ "rawtypes" })
public class JbpmPooledObjectFactory extends BaseKeyedPoolableObjectFactory {
    protected static final Log logger = LogFactory.getLog(JbpmPooledObjectFactory.class);

    private static int count = 0;

From source file com.tasktop.c2c.server.web.proxy.ajp.AjpPoolableConnectionFactory.java

public class AjpPoolableConnectionFactory extends BaseKeyedPoolableObjectFactory {

    private static final Pattern keyPattern = Pattern.compile("([^:]+):(\\d+)");

    private SocketFactory socketFactory = SocketFactory.getDefault();