Searched refs:ConnectionDesc (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/
H A DConnectionDesc.java36 final class ConnectionDesc { class
50 ConnectionDesc(PooledConnection conn) { method in class:ConnectionDesc
54 ConnectionDesc(PooledConnection conn, boolean use) { method in class:ConnectionDesc
64 * This is useful when searching for a ConnectionDesc using only its
69 && obj instanceof ConnectionDesc
70 && ((ConnectionDesc)obj).conn == conn;
75 * searching for a ConnectionDesc using only its PooledConnection.
82 * Changes the state of a ConnectionDesc from BUSY to IDLE and
99 * If ConnectionDesc is IDLE, change its state to BUSY and return
102 * @return ConnectionDesc'
[all...]
H A DConnections.java117 conns.add(new ConnectionDesc(conn)); // Add new idle conn to pool
187 ConnectionDesc entry;
189 entry = (ConnectionDesc) conns.get(i);
205 conns.add(new ConnectionDesc(conn, true)); // Add new conn to pool
219 ConnectionDesc entry;
220 int loc = conns.indexOf(entry=new ConnectionDesc(conn));
241 // Get ConnectionDesc from list to get correct state info
242 entry = (ConnectionDesc) conns.get(loc);
265 if (conns.remove(new ConnectionDesc(conn))) {
295 ConnectionDesc entr
[all...]

Completed in 30 milliseconds