Package com.epam.common.thread.queue
Class BlockingQueueAdapter<E>
java.lang.Object
com.epam.common.thread.queue.BlockingQueueAdapter<E>
- All Implemented Interfaces:
SimpleBlockingQueue<E>
User: Mykhailo_Sereda
Date: 08.11.12
Time: 15:00
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BlockingQueueAdapter
-
-
Method Details
-
put
- Specified by:
putin interfaceSimpleBlockingQueue<E>- Throws:
InterruptedException
-
take
- Specified by:
takein interfaceSimpleBlockingQueue<E>- Throws:
InterruptedException
-
size
public int size()- Specified by:
sizein interfaceSimpleBlockingQueue<E>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceSimpleBlockingQueue<E>
-