Package 

Class DefaultFetchSchedule

  • All Implemented Interfaces:
    ai.platon.pulsar.common.config.Parameterized , ai.platon.pulsar.crawl.schedule.FetchSchedule

    
    public final class DefaultFetchSchedule
    extends AbstractFetchSchedule
                        

    This class implements the default re-fetch schedule. That is, no matter if the page was changed or not, the fetchInterval remains unchanged, and the updated page fetchTime will always be set to fetchTime + fetchInterval * 1000.

    • Method Summary

      Modifier and Type Method Description
      Duration getMaxFetchInterval()
      final ImmutableConfig getConf()
      final MiscMessageWriter getMessageWriter()
      • Methods inherited from class ai.platon.pulsar.crawl.schedule.DefaultFetchSchedule

        estimatePrevFetchTime, forceRefetch, getParams, initializeSchedule, setFetchSchedule, setPageGoneSchedule, setPageRetrySchedule, shouldFetch
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait