Class WaitingThreadAborter

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

@Deprecated public class WaitingThreadAborter extends Object
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 Details

    • WaitingThreadAborter

      public WaitingThreadAborter()
      Deprecated.
  • Method Details

    • 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.