public void sleep(Long millis){
  try {
    Thread.sleep(millis);
  }
 catch (  Exception e) {
    LOGGER.warn("Couldn't sleep for " + millis + " milliseconds.",e);
  }
}

public void sleep ( Long millis ) { try { Thread . sleep ( millis ) ; } catch ( Exception e ) { LOGGER . warn ( "Couldn't sleep for " + millis + " milliseconds." , e ) ; } }
sleeps specified number of milliseconds .
