WaitingThreadAborter (Apache HttpClient 4.5.13 API)
Date: 2020-10-03

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.http.impl.conn.tsccm
Class WaitingThreadAborter

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

Deprecated. (4.2) do not use

    @Deprecated
    public class WaitingThreadAborter

extends Object

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

Since:
  4.0

Constructor Summary
`WaitingThreadAborter()` Deprecated.

Method Summary
`void` | `abort()` Deprecated. If a waiting thread has been set, interrupts it.
`void` | `setWaitingThread(WaitingThread waitingThread)` Deprecated. Sets the waiting thread.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WaitingThreadAborter

    public WaitingThreadAborter()

  Deprecated.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.