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.

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 ()

Since: API Level 1

Public Methods

public void abort ()

Since: API Level 1

If a waiting thread has been set, interrupts it.

public void setWaitingThread (WaitingThread waitingThread)

Since: API Level 1

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

Parameters
waitingThread The thread to interrupt when aborting.