Class DefaultFetchSchedule

  • All Implemented Interfaces:
    ai.platon.pulsar.common.config.Parameterized , ai.platon.pulsar.skeleton.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.

    Author:

    Andrzej Bialecki

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class ai.platon.pulsar.skeleton.crawl.schedule.AbstractFetchSchedule

        estimatePrevFetchTime, forceRefetch, getConf, getMaxFetchInterval, getMessageWriter, initializeSchedule, setFetchSchedule, setPageGoneSchedule, setPageRetrySchedule, shouldFetch
      • Methods inherited from class ai.platon.pulsar.common.config.Parameterized

        getParams
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultFetchSchedule

        DefaultFetchSchedule(ImmutableConfig conf, MiscMessageWriter messageWriter)
    • Method Detail