private void performDelay ( ) { try { TimeUnit . MILLISECONDS . sleep ( crawlDelayMechanism . getDelay ( ) ) ; } catch ( InterruptedException ex ) { Thread . currentThread ( ) . interrupt ( ) ; isStopping = true ; } }
Delays the next request .