public class TwoThreadBlockingQueue extends Object implements BlockingQueue
| Constructor and Description |
|---|
TwoThreadBlockingQueue() |
public static final String poison
public void add(String object)
add in interface BlockingQueuepublic String take() throws InterruptedException
take in interface BlockingQueueInterruptedExceptionCopyright © 2004-2012 Apache Software Foundation. All Rights Reserved.