/** * Gets this threads work queue. * * @return The queue. */ public WorkQueue<Work> getQueue() { return scheduler.get(threadIndex); }