Package org.apache.http.impl.conn.tsccm
Class WaitingThreadAborter
java.lang.Object
org.apache.http.impl.conn.tsccm.WaitingThreadAborter
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
Deprecated.If a waiting thread has been set, interrupts it.void
setWaitingThread
(WaitingThread waitingThread) Deprecated.Sets the waiting thread.
-
Constructor Details
-
WaitingThreadAborter
public WaitingThreadAborter()Deprecated.
-
-
Method Details
-
abort
public void abort()Deprecated.If a waiting thread has been set, interrupts it. -
setWaitingThread
Deprecated.Sets the waiting thread. If this has already been aborted, the waiting thread is immediately interrupted.- Parameters:
waitingThread
- The thread to interrupt when aborting.
-