Class CrawlerDelay
- java.lang.Object
-
- com.norconex.collector.http.delay.impl.AbstractDelay
-
- com.norconex.collector.http.delay.impl.CrawlerDelay
-
public class CrawlerDelay extends AbstractDelay
It is assumed there will be one instance of this class per crawler defined.- Author:
- Pascal Essiembre
-
-
Field Summary
-
Fields inherited from class com.norconex.collector.http.delay.impl.AbstractDelay
TINY_SLEEP_MS
-
-
Constructor Summary
Constructors Constructor Description CrawlerDelay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delay(long expectedDelayNanos, String url)
-
Methods inherited from class com.norconex.collector.http.delay.impl.AbstractDelay
delay
-
-
-
-
Method Detail
-
delay
public void delay(long expectedDelayNanos, String url)
- Specified by:
delay
in classAbstractDelay
-
-