Class PluggableCrawl.PluggableCrawlerStatus

java.lang.Object
org.lockss.crawler.CrawlerStatus
org.lockss.laaws.crawler.impl.pluggable.PluggableCrawl.PluggableCrawlerStatus
Enclosing class:
PluggableCrawl

public static class PluggableCrawl.PluggableCrawlerStatus extends org.lockss.crawler.CrawlerStatus
A wrapper around a Rest CrawlStatus that can be used inside the daemon code. This notably allows for null ArchivalUnits. This could be replaced by a generic plugin that provides //getArchivalUnit but may not be necessary in the short-term.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.lockss.crawler.CrawlerStatus

    org.lockss.crawler.CrawlerStatus.RecordReferrersMode, org.lockss.crawler.CrawlerStatus.RecordReferrerTypes, org.lockss.crawler.CrawlerStatus.ReferrerMap, org.lockss.crawler.CrawlerStatus.ReferrerType, org.lockss.crawler.CrawlerStatus.Severity, org.lockss.crawler.CrawlerStatus.UrlCount, org.lockss.crawler.CrawlerStatus.UrlCountWithList, org.lockss.crawler.CrawlerStatus.UrlCountWithMap, org.lockss.crawler.CrawlerStatus.UrlCountWithSet, org.lockss.crawler.CrawlerStatus.UrlErrorInfo
  • Field Summary

    Fields inherited from class org.lockss.crawler.CrawlerStatus

    ALL_URLS, au, auid, auName, CRAWL_STATUS_POOL, crawlerId, daemon, DEFAULT_KEEP_OFF_HOST_EXCLUDES, DEFAULT_KEEP_URLS, DEFAULT_RECORD_REFERRER_TYPES, DEFAULT_RECORD_REFERRERS_MODE, DEFAULT_RECORD_URLS, depth, endTime, errors, errorSeverityCounts, excluded, excludedExcludes, fetched, HOST_PERM_ERR_MSG, includedExcludes, key, mimeCounts, NO_PERM_STATMENT_ERR_MSG, notModified, PARAM_KEEP_OFF_HOST_EXCLUDES, PARAM_KEEP_URLS, PARAM_RECORD_REFERRER_TYPES, PARAM_RECORD_REFERRERS_MODE, PARAM_RECORD_URLS, parsed, pending, priority, proxy, recordRefMode, referrers, refetchDepth, sources, START_URL_ERR_MSG, startTime, startUrls, status, statusMessage, type, UNABLE_TO_FETCH_PERM_ERR_MSG, UNABLE_TO_FETCH_PROBE_PERM_ERR_MSG, unchanged
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new Pluggable crawler status.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.lockss.crawler.CrawlerStatus

    addContentBytesFetched, addPendingUrl, addSource, anyExcludedWithReason, auDeleted, getAu, getAuId, getAuName, getContentBytesFetched, getCrawlerId, getCrawlErrorMsg, getCrawlStatus, getCrawlStatusMsg, getDefaultMessage, getDepth, getEndTime, getErrorCtr, getErrorForUrl, getErrorInfoForUrl, getExcludedCtr, getExcludedExcludes, getFetchedCtr, getKey, getMimeTypeCtr, getMimeTypes, getNotModifiedCtr, getNumExcluded, getNumExcludedExcludes, getNumFetched, getNumNotModified, getNumOfMimeTypes, getNumParsed, getNumPending, getNumUnchanged, getNumUrlsOfMimeType, getNumUrlsWithErrors, getNumUrlsWithErrorsOfSeverity, getParsedCtr, getPendingCtr, getPriority, getProxy, getRecordReferrersMode, getReferrers, getRefetchDepth, getSources, getSourcesCtr, getStartTime, getStartUrls, getType, getUnchangedCtr, getUrlsErrorMap, getUrlsExcluded, getUrlsExcludedMap, getUrlsFetched, getUrlsNotModified, getUrlsOfMimeType, getUrlsParsed, getUrlsPending, getUrlsUnchanged, getUrlsWithErrors, hasReferrers, hasReferrersOfType, initCounters, isCrawlActive, isCrawlError, isCrawlError, isCrawlWaiting, isFetchError, nextIdx, removePendingUrl, sealCounters, setCrawlerId, setCrawlStatus, setCrawlStatus, setDepth, setPriority, setProxy, setRefetchDepth, setStartUrls, setType, signalCrawlEnded, signalCrawlStarted, signalErrorForUrl, signalErrorForUrl, signalErrorForUrl, signalErrorForUrl, signalErrorForUrl, signalErrorForUrl, signalMimeTypeOfUrl, signalReferrer, signalUrlExcluded, signalUrlExcluded, signalUrlFetched, signalUrlNotModified, signalUrlParsed, signalUrlUnchanged

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PluggableCrawlerStatus

      public PluggableCrawlerStatus(PluggableCrawl crawl)
      Instantiates a new Pluggable crawler status.
      Parameters:
      crawl - the crawl
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class org.lockss.crawler.CrawlerStatus