title: CPU consumption when thread is sleeping using Thread.sleep
body: <p><br>
  I have a server program which polls a database for new requests , I want this polling to be done at 1 minute intervals so , I've set up a Thread.sleep() in the program while loop.<br>
  The problem is that whenever this program is supposed to "sleep" the CPU consumption goes up drastically (viz. about 25 - 30%). <br> 
  Paradoxically, when the program is not dormant and is busy processing requests , the CPU consumption drops to 0.4%. <br>
  I read online and found out that there are performance hits associated with thread.sleep, but I could not find any viable alternative (Thread.wait requires notification on an object, something which I feel is useless in my scenario)</p>
  
  <p>The main loop (when there are no new requests) doesn't do anything, here is a skeleton of all that is being done when the CPU consumption is 25%</p>
  
  <p>-> poll <br>
   -> No new records ? <br>
      -> Sleep <br>
  ->repeat</p>