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