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