Added protected getter for the job queue.

This commit is contained in:
Simone Bordet 2011-09-01 16:50:49 +02:00
parent b2849e36c6
commit 93aed81e34
1 changed files with 9 additions and 0 deletions

View File

@ -598,6 +598,15 @@ public class QueuedThreadPool extends AbstractLifeCycle implements SizedThreadPo
job.run(); job.run();
} }
/* ------------------------------------------------------------ */
/**
* @return the job queue
*/
protected BlockingQueue<Runnable> getQueue()
{
return _jobs;
}
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/** /**
* @param id The thread ID to stop. * @param id The thread ID to stop.