title: Examples of when it is convenient to use Executors.newSingleThreadExecutor()
body: <p>Could please somebody tell me a real life example where it's convenient to use this factory method rather than others?</p>
  
  <blockquote>
    <p>newSingleThreadExecutor</p>
    
    <p>public static ExecutorService newSingleThreadExecutor()</p>
    
    <p>Creates an Executor that uses a single worker thread operating off an
    unbounded queue. (Note however that if this single thread terminates
    due to a failure during execution prior to shutdown, a new one will
    take its place if needed to execute subsequent tasks.) Tasks are
    guaranteed to execute sequentially, and no more than one task will be
    active at any given time. Unlike the otherwise equivalent
    newFixedThreadPool(1) the returned executor is guaranteed not to be
    reconfigurable to use additional threads.</p>
  </blockquote>
  
  <p>Thanks in advance.</p>