question: private void delayRetry ( int multiplier ) { debug ( "Sleeping before next retry..." ) ; try { Thread . sleep ( 1000 * multiplier ) ; } catch ( InterruptedException e ) { warn ( e , "Thread sleeping failed.\nContinuing with the next retry." ) ; } }
target:  dalays the current thread. Logs any errors. The delay is 1000 millis * the given multiplier. Used within a loop, the iterator index can be used to give progressively longer delays.