Example usage for org.apache.http.impl.conn.tsccm WaitingThread WaitingThread

List of usage examples for org.apache.http.impl.conn.tsccm WaitingThread WaitingThread

Introduction

In this page you can find the example usage for org.apache.http.impl.conn.tsccm WaitingThread WaitingThread.

Prototype

public WaitingThread(final Condition cond, final RouteSpecificPool pool) 

Source Link

Document

Creates a new entry for a waiting thread.

Usage

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);
}