public interface TaskIterator
Modifier and Type | Method and Description |
---|---|
Assignable<? extends TaskRequest> |
next()
Get the next task from queue, or
null if no more tasks exist. |
Assignable<? extends TaskRequest> next() throws TaskQueueException
null
if no more tasks exist.null
if there are no tasks left to assign resources to.TaskQueueException
- if there were errors retrieving the next task from the queue.