1411 |
|
* ignored or suppressed interruption, causing this executor not |
1412 |
|
* to properly terminate. |
1413 |
|
* |
1414 |
< |
* @return true if terminating but not yet terminated |
1414 |
> |
* @return {@code true} if terminating but not yet terminated |
1415 |
|
*/ |
1416 |
|
public boolean isTerminating() { |
1417 |
|
int c = ctl.get(); |
1715 |
|
* remove those Futures that have been cancelled. |
1716 |
|
* |
1717 |
|
* @param task the task to remove |
1718 |
< |
* @return true if the task was removed |
1718 |
> |
* @return {@code true} if the task was removed |
1719 |
|
*/ |
1720 |
|
public boolean remove(Runnable task) { |
1721 |
|
boolean removed = workQueue.remove(task); |