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:
put
in interfaceSimpleBlockingQueue<E>
- Throws:
InterruptedException
-
take
- Specified by:
take
in interfaceSimpleBlockingQueue<E>
- Throws:
InterruptedException
-
size
public int size()- Specified by:
size
in interfaceSimpleBlockingQueue<E>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceSimpleBlockingQueue<E>
-