Package org.apache.http.impl.conn.tsccm
Class WaitingThreadAborter
- java.lang.Object
-
- org.apache.http.impl.conn.tsccm.WaitingThreadAborter
-
@Deprecated public class WaitingThreadAborter extends Object
Deprecated.(4.2) do not useA simple class that can interrupt aWaitingThread
. Must be called with the pool lock held.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description WaitingThreadAborter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
abort()
Deprecated.If a waiting thread has been set, interrupts it.void
setWaitingThread(WaitingThread waitingThread)
Deprecated.Sets the waiting thread.
-
-
-
Method Detail
-
abort
public void abort()
Deprecated.If a waiting thread has been set, interrupts it.
-
setWaitingThread
public void setWaitingThread(WaitingThread waitingThread)
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.
-
-