org.apache.http.impl.conn.tsccm
Class ConnPoolByRoute.WaitingThread

java.lang.Object
  extended by org.apache.http.impl.conn.tsccm.ConnPoolByRoute.WaitingThread
Enclosing class:
ConnPoolByRoute

protected static class ConnPoolByRoute.WaitingThread
extends java.lang.Object

A thread and the pool in which it is waiting.


Field Summary
 boolean interruptedByConnectionPool
          Indicates the source of an interruption.
 RouteSpecificPool pool
          The route specific pool the thread is waiting for.
 java.lang.Thread thread
          The thread that is waiting for an entry.
 
Constructor Summary
protected ConnPoolByRoute.WaitingThread()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thread

public java.lang.Thread thread
The thread that is waiting for an entry.


pool

public RouteSpecificPool pool
The route specific pool the thread is waiting for.


interruptedByConnectionPool

public boolean interruptedByConnectionPool
Indicates the source of an interruption. Set to true inside ConnPoolByRoute.notifyWaitingThread(RouteSpecificPool) and shutdown() before the thread is interrupted. If not set, the thread was interrupted from the outside.

Constructor Detail

ConnPoolByRoute.WaitingThread

protected ConnPoolByRoute.WaitingThread()


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.