Class AbstractTaskLoop

  • All Implemented Interfaces:
    ai.platon.pulsar.common.StartStopRunnable , ai.platon.pulsar.skeleton.crawl.TaskLoop , java.lang.AutoCloseable

    
    public abstract class AbstractTaskLoop
     implements TaskLoop
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractTaskLoop(String name, ImmutableConfig config)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Integer getId()
      Boolean isRunning()
      abstract UrlFeeder getUrlFeeder() The url feeder is used by the crawl loop to feed urls to the crawler.
      List<PriorityDataCollector<UrlAware>> getCollectors()
      abstract TaskRunner getTaskRunner()
      String getDisplay()
      String getAbstract()
      String getReport()
      String getName()
      ImmutableConfig getConfig()
      • Methods inherited from class ai.platon.pulsar.common.StartStopRunnable

        await, close, restart, start, stop
      • Methods inherited from class java.lang.Object

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