private void delay ( long multiplier ) { try { // Wait for the timeout to finish Thread . sleep ( TimeUnit . SECONDS . toMillis ( RETRY_DELAY * multiplier ) ) ; } catch ( InterruptedException ex ) { // Doesn't matter if we're interrupted } }
Sleep for a period of time