Added protected getter for the job queue.
This commit is contained in:
parent
b2849e36c6
commit
93aed81e34
|
@ -598,6 +598,15 @@ public class QueuedThreadPool extends AbstractLifeCycle implements SizedThreadPo
|
|||
job.run();
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/**
|
||||
* @return the job queue
|
||||
*/
|
||||
protected BlockingQueue<Runnable> getQueue()
|
||||
{
|
||||
return _jobs;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/**
|
||||
* @param id The thread ID to stop.
|
||||
|
|
Loading…
Reference in New Issue