title: Inner-workings of LinkedBlockingQueue
body: <p>I wonder how the following scenario is handled:</p>
  
  <ul>
  <li>ScheduledThreadPool producing N elements at a time, each second.</li>
  <li>Eager consumer, that tries to create batches of N objects from queue, instead of processing one by one.</li>
  </ul>
  
  <p>When the producer wakes up, and starts putting elements in the queue (simply transferring objects from a list), lets assume 100 elements at a time, will the consumer wake up immediately, emptying the queue before producer gets to put the 100 elements?</p>
  
  <p>Or can I expect the consuming thread to be dormant for a while longer?</p>