Lines Matching defs:connection
148 // Add a third connection
151 // The third connection bounces the first.
174 private void allocateAndLeakAllocation(ConnectionPool pool, RealConnection connection) {
175 StreamAllocation leak = new StreamAllocation(pool, connection.getRoute().getAddress());
176 leak.acquire(connection);
191 RealConnection connection = new RealConnection(route);
192 connection.idleAtNanos = idleAtNanos;
193 connection.socket = new Socket();
195 pool.put(connection);
197 return connection;