Interface DownloadScrapeResult

All Known Implementing Classes:
DownloadImpl.AggregateScrapeResult, DownloadScrapeResultImpl, RPDownloadScrapeResult

public interface DownloadScrapeResult
  • Field Details

  • Method Details

    • getDownload

      Download getDownload()
      Gives access to the associated download
      Returns:
      Since:
      2.0.7.0
    • getResponseType

      int getResponseType()
      A scrape result can denote either a successful or failed scrape.
      Returns:
      RT_SUCCESS or RT_ERROR
      Since:
      2.0.7.0
    • getSeedCount

      int getSeedCount()
      Gives the number of seeds returned by the scrape
      Returns:
      Since:
      2.0.7.0
    • getNonSeedCount

      int getNonSeedCount()
      Gives the number of non-seeds returned by the scrape
      Returns:
      Since:
      2.0.7.0
    • getScrapeStartTime

      long getScrapeStartTime()
    • setNextScrapeStartTime

      void setNextScrapeStartTime(long nextScrapeStartTime)
      Sets the next scrape time
      Parameters:
      nextScrapeStartTime - time to start in milliseconds since epoch
      Since:
      2.1.0.2
    • getNextScrapeStartTime

      long getNextScrapeStartTime()
    • getStatus

      String getStatus()
      returns a string representation of the scrape status
      Returns:
      Since:
      2.1.0.4
    • getURL

      URL getURL()
      The URL for the tracker
      Returns: