Top Description Fields Constructors Methods
org.apache.http.impl.conn.tsccm

public Class WaitingThreadAborter

extends Object
Class Inheritance
Annotations
@Deprecated

Deprecated

(4.2) do not use

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

Field Summary

Modifier and TypeField and Description
private boolean
private WaitingThread
waitingThread

Deprecated as a consequence of WaitingThread being deprecated.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
abort()

If a waiting thread has been set, interrupts it.

public void
setWaitingThread(final WaitingThread
The thread to interrupt when aborting.
waitingThread
)

Deprecated as a consequence of WaitingThread being deprecated.
Sets the waiting thread.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

abortedback to summary
private boolean aborted
waitingThreadback to summary
private WaitingThread waitingThread

Deprecated

as a consequence of WaitingThread being deprecated. See corresponding docs for further information.

Constructor Detail

WaitingThreadAborterback to summary
public WaitingThreadAborter()

Method Detail

abortback to summary
public void abort()

If a waiting thread has been set, interrupts it.

setWaitingThreadback to summary
public void setWaitingThread(final WaitingThread waitingThread)

Deprecated

as a consequence of WaitingThread being deprecated. See corresponding docs for further information.

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

Parameters
waitingThread:WaitingThread

The thread to interrupt when aborting.