Quello che ti serve è la LinkedBlockingQueue