From 93aed81e34abeb2a58f2d09c59daaebe386685f0 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 1 Sep 2011 16:50:49 +0200 Subject: [PATCH] Added protected getter for the job queue. --- .../org/eclipse/jetty/util/thread/QueuedThreadPool.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java index e0ed45a3583..be3f0ed4419 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/QueuedThreadPool.java @@ -598,6 +598,15 @@ public class QueuedThreadPool extends AbstractLifeCycle implements SizedThreadPo job.run(); } + /* ------------------------------------------------------------ */ + /** + * @return the job queue + */ + protected BlockingQueue getQueue() + { + return _jobs; + } + /* ------------------------------------------------------------ */ /** * @param id The thread ID to stop.