Code example for ConcurrentLinkedQueue

Methods: removeisEmpty

0
	} 
 
	public void execute() throws Exception{ 
		LOG.debug("---------join start--------------"); 
		worker.setSynLock(synLock);
		worker.setExceptions(exceptions);
		new Thread(worker).start();
		synLock.await();
		if(!exceptions.isEmpty()){
			throw exceptions.remove();
		} 
		LOG.debug("---------join end----------------"); 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java