Code example for CountDownLatch

Methods: countDown

0
    } 
 
    @EventHandler 
    public void secondListener(SecondEvent event)
    { 
        latch.countDown();
    } 
 
    public static class FirstEvent 
    { 
    } 
 
    public static class SecondEvent 
    { 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE