Package com.biglybt.pif.download
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 downloadlong
int
Gives the number of non-seeds returned by the scrapeint
A scrape result can denote either a successful or failed scrape.long
int
Gives the number of seeds returned by the scrapereturns a string representation of the scrape statusgetURL()
The URL for the trackervoid
setNextScrapeStartTime
(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
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:
-