I\'m new to java executor stuff.
I\'m using Java\'s ExecutorService to launch several threads to process data.
Executor executor = Executors.newFixedThre
you can think of it that way:
shutdown()
will just tell the executor service that it can't accept new tasks, but the already submitted tasks continue to run
shutdownNow()
will do the same AND will try to cancel the already submitted tasks by interrupting the relevant threads. Note that if your tasks ignore the interruption, shutdownNow
will behave exactly the same way as shutdown.