Package org.smallmind.phalanx.worker
Class TransferringWorkQueue<E>
- java.lang.Object
-
- org.smallmind.phalanx.worker.TransferringWorkQueue<E>
-
-
Constructor Summary
Constructors Constructor Description TransferringWorkQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanoffer(E e, long timeout, TimeUnit unit)Epoll(long timeout, TimeUnit unit)
-
-
-
Method Detail
-
offer
public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException
- Specified by:
offerin interfaceWorkQueue<E>- Throws:
InterruptedException
-
poll
public E poll(long timeout, TimeUnit unit) throws InterruptedException
- Specified by:
pollin interfaceWorkQueue<E>- Throws:
InterruptedException
-
-