Code example for BlockingQueue

Methods: put, sleep