Code example for CountDownLatch

0
 
 
    public MetaMessageWrapper(final Message message) { 
        super(); 
        this.message = message; 
        this.latch = new CountDownLatch(1); 
    } 
 
}