title: Java Thread Pool with a Bounded Queue
body: <p>I'm using <code>java.util.concurrent</code>'s <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/Executors.html" rel="noreferrer"><code>Executors</code></a> class to create a fixed thread pool for running request handlers for a web server:</p>
  
  <pre><code>static ExecutorService  newFixedThreadPool(int nThreads) 
  </code></pre>
  
  <p>and the description is:</p>
  
  <blockquote>
    <p>Creates a thread pool that reuses a fixed set of threads operating off a shared <strong>unbounded</strong> queue.</p>
  </blockquote>
  
  <p>However, I am looking for thread pool implementation which will do the exact same thing, except with a <strong>bounded</strong> queue. Is there such an implementation? Or do I need to implement my own wrapper for the fixed thread pool?</p>