Java 类org.apache.http.impl.conn.IdleConnectionHandler 实例源码

项目:lams    文件:AbstractConnPool.java   
/**
 * Creates a new connection pool.
 */
protected AbstractConnPool() {
    super();
    this.log = LogFactory.getLog(getClass());
    this.leasedConnections = new HashSet<BasicPoolEntry>();
    this.idleConnHandler = new IdleConnectionHandler();
    this.poolLock = new ReentrantLock();
}
项目:purecloud-iot    文件:AbstractConnPool.java   
/**
 * Creates a new connection pool.
 */
protected AbstractConnPool() {
    super();
    this.log = LogFactory.getLog(getClass());
    this.leasedConnections = new HashSet<BasicPoolEntry>();
    this.idleConnHandler = new IdleConnectionHandler();
    this.poolLock = new ReentrantLock();
}
项目:cJUnit-mc626    文件:AbstractConnPool.java   
/**
 * Creates a new connection pool.
 */
protected AbstractConnPool() {
    leasedConnections = new HashSet<BasicPoolEntry>();
    idleConnHandler = new IdleConnectionHandler();

    boolean fair = false; //@@@ check parameters to decide
    poolLock = new ReentrantLock(fair);
}