525 |
|
* |
526 |
|
* <p>There are no guarantees beyond best-effort attempts to stop |
527 |
|
* processing actively executing tasks. This implementation |
528 |
< |
* cancels tasks via {@link Thread#interrupt}, so if any tasks mask or |
529 |
< |
* fail to respond to interrupts, they may never terminate. |
528 |
> |
* cancels tasks via {@link Thread#interrupt}, so any task that |
529 |
> |
* fails to respond to interrupts may never terminate. |
530 |
|
* |
531 |
|
* @return list of tasks that never commenced execution. Each |
532 |
|
* element of this list is a {@link ScheduledFuture}, |
533 |
|
* including those tasks submitted using <tt>execute</tt>, which |
534 |
|
* are for scheduling purposes used as the basis of a zero-delay |
535 |
|
* <tt>ScheduledFuture</tt>. |
536 |
+ |
* @throws SecurityException {@inheritDoc} |
537 |
|
*/ |
538 |
|
public List<Runnable> shutdownNow() { |
539 |
|
return super.shutdownNow(); |