Prevents further task submission and returns no queued tasks. @return an empty task list
()
| 377 | * @return an empty task list |
| 378 | */ |
| 379 | @Override |
| 380 | public List<Runnable> shutdownNow() { |
| 381 | shutdown = true; |
| 382 | return List.of(); |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * Indicates whether shutdown has been requested. |