protected void waitForNextRetry() {
    try {
      Thread.sleep(new Random().nextInt(MAX_DELAY - 1) + 1);
    } catch (InterruptedException e) {
      OLogManager.instance().error(this, "Wait was interrupted", e);
    }
  }
protected void waitForNextRetry ( ) { try { Thread . sleep ( new Random ( ) . nextInt ( MAX_DELAY - 1 ) + 1 ) ; } catch ( InterruptedException e ) { OLogManager . instance ( ) . error ( this , "Wait was interrupted" , e ) ; } }
Wait before to retry