Code example for ThreadPoolExecutor

Methods: awaitTermination

0
        } 
    } 
 
    public void shutdown() { 
        try { 
            executor.awaitTermination(7, TimeUnit.SECONDS);
        } catch (InterruptedException e) {
            log.error(e.getMessage(), e);
        } 
    } 
 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE