public static void close ( ) { synchronized ( poolMap ) { for ( Pool pool : poolMap . values ( ) ) { try { pool . close ( ) ; } catch ( InterruptedException exception ) { //eat } } shutdownExecutor ( ) ; poolMap . clear ( ) ; } }
Close all pools .