org.apache.archiva.redback.components.taskqueue.TaskQueue |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves and removes the head of the queue, waiting at most timeout timeUnit when no element is available.
| |||||||||||
Retrieves and removes the head of the queue, waiting at most timeout timeUnit when no element is available.
timeout | time to wait, in timeUnit units |
---|---|
timeUnit | how to interpret the timeout parameter. |
InterruptedException | when this thread is interrupted while waiting |
---|
task | The task to add to the queue. |
---|
TaskQueueException |
---|