public class WaitingThreadAborter
extends java.lang.Object
WaitingThread
.
Must be called with the pool lock held.Constructor and Description |
---|
WaitingThreadAborter() |
Modifier and Type | Method and Description |
---|---|
void |
abort()
If a waiting thread has been set, interrupts it.
|
void |
setWaitingThread(WaitingThread waitingThread)
Sets the waiting thread.
|
public void abort()
public void setWaitingThread(WaitingThread waitingThread)
waitingThread
- The thread to interrupt when aborting.