Package org.smallmind.phalanx.worker
Interface WorkQueue<E>
-
- All Known Implementing Classes:
BlockingWorkQueue,TransferringWorkQueue
public interface WorkQueue<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanoffer(E e, long timeout, TimeUnit unit)Epoll(long timeout, TimeUnit unit)
-
-
-
Method Detail
-
offer
boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
poll
E poll(long timeout, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-