This class is not synchronized.
8990919293949596
*/ protected AbstractConnPool() { super(); this.log = LogFactory.getLog(getClass()); this.leasedConnections = new HashSet<BasicPoolEntry>(); this.idleConnHandler = new IdleConnectionHandler(); this.poolLock = new ReentrantLock(); }
949596979899100101102103
/** * 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); }
8788899091929394
9899100101102103104105106107
/** * Creates a new connection pool. */ protected AbstractConnPool() { issuedConnections = new HashSet<BasicPoolEntryRef>(); idleConnHandler = new IdleConnectionHandler(); boolean fair = false; //@@@ check parameters to decide poolLock = new ReentrantLock(fair); }