Class CrawlerRunInfo

java.lang.Object
com.norconex.crawler.core.session.CrawlerRunInfo

public final class CrawlerRunInfo extends Object
Details on the current crawl run.
  • Method Details

    • builder

      public static CrawlerRunInfo.CrawlerRunInfoBuilder builder()
    • getCrawlerId

      public String getCrawlerId()
      Stable identity of a crawler. Usually configuration-driven.
    • getCrawlSessionId

      public String getCrawlSessionId()
      Full life-cycle identifier for a single crawl. Represents the crawl session, spans multiple cluster restarts/resumes.
    • getCrawlRunId

      public String getCrawlRunId()
      Unique identifier for each time the crawler starts (until termination). When run on a cluster, it is also an ephemeral cluster instance identifier.
    • getCrawlMode

      public CrawlerMode getCrawlMode()
      The mode used to crawl web sites. For any given crawler, a fresh crawl is always a CrawlerMode.FULL crawl while subsequent crawls are usually considered CrawlerMode.INCREMENTAL crawls.
    • getCrawlResumeState

      public CrawlerResumeState getCrawlResumeState()
      Whether we are starting a new crawl session or resuming a previous one.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object