Interface DownloadScrapeResult
- All Known Implementing Classes:
DownloadImpl.AggregateScrapeResult, DownloadScrapeResultImpl, RPDownloadScrapeResult
public interface DownloadScrapeResult
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGives access to the associated downloadlongintGives the number of non-seeds returned by the scrapeintA scrape result can denote either a successful or failed scrape.longintGives the number of seeds returned by the scrapereturns a string representation of the scrape statusgetURL()The URL for the trackervoidsetNextScrapeStartTime(long nextScrapeStartTime) Sets the next scrape time
-
Field Details
-
RT_SUCCESS
static final int RT_SUCCESS- See Also:
-
RT_ERROR
static final int RT_ERROR- See Also:
-
-
Method Details
-
getDownload
-
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
-
getURL
-