Build 1.0_r1(from source)

org.apache.http.impl.conn.tsccm
Class WaitingThreadAborter

java.lang.Object
  extended by org.apache.http.impl.conn.tsccm.WaitingThreadAborter

public class WaitingThreadAborter
extends Object

A simple class that can interrupt a WaitingThread.


Constructor Summary
WaitingThreadAborter()
           
 
Method Summary
 void abort()
          If a waiting thread has been set, interrupts it.
 void setWaitingThread(WaitingThread waitingThread)
          Sets the waiting thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitingThreadAborter

public WaitingThreadAborter()
Method Detail

abort

public void abort()
If a waiting thread has been set, interrupts it.


setWaitingThread

public void setWaitingThread(WaitingThread waitingThread)
Sets the waiting thread. If this has already been aborted, the waiting thread is immediately interrupted.

Parameters:
waitingThread - The thread to interrupt when aborting.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature