Example usage for org.apache.commons.pool2 PooledObjectFactory interface-usage

List of usage examples for org.apache.commons.pool2 PooledObjectFactory interface-usage

Introduction

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

Usage

From source file com.hgcode.jedis.JedisFactory.java

public class JedisFactory implements PooledObjectFactory<Jedis> {
    private final String host;
    private final int port;
    private final int timeout;
    private final String password;
    private final int database;

From source file com.xyxy.platform.modules.nosql.redis.pool.JedisFactory.java

/**
 * Copy from redis.clients.jedis.JedisFactory, because it is not a public class.
 */
public class JedisFactory implements PooledObjectFactory<Jedis> {
    private final String host;
    private final int port;

From source file com.sky.projects.common.redis.pool.JedisFactory.java

/**
 * Copy from redis.clients.jedis.JedisFactory, because it is not a public class.
 */
public class JedisFactory implements PooledObjectFactory<Jedis> {
    private final String host;
    private final int port;

From source file org.codingsills.modules.nosql.redis.pool.JedisFactory.java

/**
 * Copy from redis.clients.jedis.JedisFactory, because it is not a public class.
 */
public class JedisFactory implements PooledObjectFactory<Jedis> {
    private final String host;
    private final int port;

From source file com.yumfee.extremeworld.modules.nosql.redis.pool.JedisFactory.java

/**
 * Copy from redis.clients.jedis.JedisFactory, because it is not a public class.
 */
public class JedisFactory implements PooledObjectFactory<Jedis> {
    private final String host;
    private final int port;

From source file com.sky.projects.pool.ConnectionFactory.java

/**
 * ?
 * 
 * @author zealot
 *
 * @param <T>

From source file org.darkphoenixs.pool.ConnectionFactory.java

/**
 * <p>Title: ConnectionFactory</p>
 * <p>Description: ?</p>
 *
 * @author Victor
 * @version 1.0

From source file com.test.database.jedis.pool.BattlePlaneFactory.java

/**
 * BattlePlaneFactory.java
 *
 * Copyright (c) 2014, TP-Link Co.,Ltd.
 * Author: liguangpu <liguangpu@tp-link.net>
 * Created: Feb 4, 2015

From source file org.nuxeo.ecm.core.redis.embedded.RedisEmbeddedFactory.java

public class RedisEmbeddedFactory implements PooledObjectFactory<Jedis> {

    protected final RedisEmbeddedConnection connection = new RedisEmbeddedConnection(this);

    protected RedisEmbeddedGuessConnectionError error = new RedisEmbeddedGuessConnectionError.NoError();

From source file com.mirth.connect.connectors.file.filesystems.FileSystemConnectionFactory.java

/**
 * A factory to create instances of FileSystemConnection based on the endpoint and connector
 * properties, and to adapt between them and the connection pool.
 */
public class FileSystemConnectionFactory implements PooledObjectFactory<FileSystemConnection> {
    private static transient Log logger = LogFactory.getLog(FileSystemConnectionFactory.class);