Class TRTrackerServerTorrentStatsImpl
java.lang.Object
com.biglybt.core.tracker.server.impl.TRTrackerServerTorrentStatsImpl
- All Implemented Interfaces:
TRTrackerServerTorrentStats
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate longprivate longprivate longprivate longprivate longprivate longprivate longprivate longprivate final TRTrackerServerTorrentImplprivate long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAnnounce(long ul_diff, long dl_diff, long le_diff, boolean biased_peer) protected voidprotected voidprotected voidaddXferStats(int in, int out) longlongintlonglonglonglonglonglongintintlongintlongprotected voidremoveLeft(long _left)
-
Field Details
-
torrent
-
announce_count
private long announce_count -
scrape_count
private long scrape_count -
completed_count
private long completed_count -
uploaded
private long uploaded -
downloaded
private long downloaded -
left
private long left -
biased_uploaded
private long biased_uploaded -
biased_downloaded
private long biased_downloaded -
bytes_in
private long bytes_in -
bytes_out
private long bytes_out
-
-
Constructor Details
-
TRTrackerServerTorrentStatsImpl
-
-
Method Details
-
addAnnounce
protected void addAnnounce(long ul_diff, long dl_diff, long le_diff, boolean biased_peer) -
removeLeft
protected void removeLeft(long _left) -
getAnnounceCount
public long getAnnounceCount()- Specified by:
getAnnounceCountin interfaceTRTrackerServerTorrentStats
-
addScrape
protected void addScrape() -
getScrapeCount
public long getScrapeCount()- Specified by:
getScrapeCountin interfaceTRTrackerServerTorrentStats
-
addCompleted
protected void addCompleted() -
getCompletedCount
public long getCompletedCount()- Specified by:
getCompletedCountin interfaceTRTrackerServerTorrentStats
-
getUploaded
public long getUploaded()- Specified by:
getUploadedin interfaceTRTrackerServerTorrentStats
-
getDownloaded
public long getDownloaded()- Specified by:
getDownloadedin interfaceTRTrackerServerTorrentStats
-
getBiasedUploaded
public long getBiasedUploaded()- Specified by:
getBiasedUploadedin interfaceTRTrackerServerTorrentStats
-
getBiasedDownloaded
public long getBiasedDownloaded()- Specified by:
getBiasedDownloadedin interfaceTRTrackerServerTorrentStats
-
getAmountLeft
public long getAmountLeft()- Specified by:
getAmountLeftin interfaceTRTrackerServerTorrentStats
-
addXferStats
protected void addXferStats(int in, int out) -
getBytesIn
public long getBytesIn()- Specified by:
getBytesInin interfaceTRTrackerServerTorrentStats
-
getBytesOut
public long getBytesOut()- Specified by:
getBytesOutin interfaceTRTrackerServerTorrentStats
-
getSeedCount
public int getSeedCount()- Specified by:
getSeedCountin interfaceTRTrackerServerTorrentStats
-
getLeecherCount
public int getLeecherCount()- Specified by:
getLeecherCountin interfaceTRTrackerServerTorrentStats
-
getQueuedCount
public int getQueuedCount()- Specified by:
getQueuedCountin interfaceTRTrackerServerTorrentStats
-
getBadNATPeerCount
public int getBadNATPeerCount()- Specified by:
getBadNATPeerCountin interfaceTRTrackerServerTorrentStats
-
getString
- Specified by:
getStringin interfaceTRTrackerServerTorrentStats
-