List of usage examples for org.apache.http.impl.conn.tsccm WaitingThread WaitingThread
public WaitingThread(final Condition cond, final RouteSpecificPool pool)
From source file:org.apache.http.impl.conn.tsccm.ConnPoolByRoute.java
/** * Creates a new waiting thread./*from w w w . j ava 2 s .co m*/ * Called by {@link #getRoutePool} when necessary. * * @param cond the condition to wait for * @param rospl the route specific pool, or <code>null</code> * * @return a waiting thread representation */ protected WaitingThread newWaitingThread(final Condition cond, final RouteSpecificPool rospl) { return new WaitingThread(cond, rospl); }