Class AbstractDelay

  • Direct Known Subclasses:
    CrawlerDelay, SiteDelay, ThreadDelay

    public abstract class AbstractDelay
    extends Object
    Convenience class to encapsulate various delay strategies.
    Author:
    Pascal Essiembre
    • Constructor Detail

      • AbstractDelay

        public AbstractDelay()
    • Method Detail

      • delay

        public abstract void delay​(long expectedDelayNanos,
                                   String url)
      • delay

        protected void delay​(long expectedDelayNanos,
                             long lastHitNanos)