Code example for BlockingQueue

Methods: poll

0
		rec.release();
		queue.clear();
	} 
 
	public short[] poll() { 
		return queue.poll();
	} 
 
	public short[] take() throws InterruptedException { 
		return queue.take();
	} 
}