Interrupting or stopping a sleeping thread
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4264341/interrupting-or-stopping-a-sleeping-thread">Interrupting or stopping a sleeping thread</a>  </p>
</blockquote>



<p>How to stop or interrupt a sleeping thread in java.? I have a thread that syncs data and sleeps for 10 minutes in run() method, if i want to stop the sync by stopping the thread when it is sleeping.? How can this be achieved?</p>
