Java Reference
In-Depth Information
7.2.2.
ExecutorService
Shutdown
shutdown with
shutdown
, and abrupt shutdown with
shutdownNow
. In an abrupt shut-
down,
shutdownNow
returns the list of tasks that had not yet started after attempting to
cancel all actively executing tasks.