SyntaxFix
Write A Post
Hire A Developer
Questions
How about using the ExecutorService.shutDownNow() method as described in http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html? It seems to be the simplest solution.
ExecutorService.shutDownNow()