public class

WaitingThreadAborter

extends Object
java.lang.Object
   ↳ org.apache.http.impl.conn.tsccm.WaitingThreadAborter

Class Overview

A simple class that can interrupt a WaitingThread. Must be called with the pool lock held.

Summary

Public Constructors
WaitingThreadAborter()
Public Methods
void abort()
If a waiting thread has been set, interrupts it.
void setWaitingThread(WaitingThread waitingThread)
Sets the waiting thread.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WaitingThreadAborter ()

Also: HttpClient

Public Methods

public void abort ()

Also: HttpClient

If a waiting thread has been set, interrupts it.

public void setWaitingThread (WaitingThread waitingThread)

Also: HttpClient

Sets the waiting thread. If this has already been aborted, the waiting thread is immediately interrupted.

Parameters
waitingThread The thread to interrupt when aborting.