protected void retryDelay ( int attemptCount ) { if ( attemptCount > 0 ) { try { Thread . sleep ( attemptCount * retryDelay ) ; } catch ( InterruptedException e ) { LOG . debug ( "Failed to sleep: " + e , e ) ; } } }
Performs a retry delay if this is not the first attempt