org.gudy.azureus2.core3.tracker.server.impl
Class TRTrackerServerTorrentStatsImpl
java.lang.Object
org.gudy.azureus2.core3.tracker.server.impl.TRTrackerServerTorrentStatsImpl
- All Implemented Interfaces:
- TRTrackerServerTorrentStats
public class TRTrackerServerTorrentStatsImpl
- extends java.lang.Object
- implements TRTrackerServerTorrentStats
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRTrackerServerTorrentStatsImpl
protected TRTrackerServerTorrentStatsImpl(TRTrackerServerTorrentImpl _torrent)
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:
getAnnounceCount
in interface TRTrackerServerTorrentStats
addScrape
protected void addScrape()
getScrapeCount
public long getScrapeCount()
- Specified by:
getScrapeCount
in interface TRTrackerServerTorrentStats
addCompleted
protected void addCompleted()
getCompletedCount
public long getCompletedCount()
- Specified by:
getCompletedCount
in interface TRTrackerServerTorrentStats
getUploaded
public long getUploaded()
- Specified by:
getUploaded
in interface TRTrackerServerTorrentStats
getDownloaded
public long getDownloaded()
- Specified by:
getDownloaded
in interface TRTrackerServerTorrentStats
getBiasedUploaded
public long getBiasedUploaded()
- Specified by:
getBiasedUploaded
in interface TRTrackerServerTorrentStats
getBiasedDownloaded
public long getBiasedDownloaded()
- Specified by:
getBiasedDownloaded
in interface TRTrackerServerTorrentStats
getAmountLeft
public long getAmountLeft()
- Specified by:
getAmountLeft
in interface TRTrackerServerTorrentStats
addXferStats
protected void addXferStats(int in,
int out)
getBytesIn
public long getBytesIn()
- Specified by:
getBytesIn
in interface TRTrackerServerTorrentStats
getBytesOut
public long getBytesOut()
- Specified by:
getBytesOut
in interface TRTrackerServerTorrentStats
getSeedCount
public int getSeedCount()
- Specified by:
getSeedCount
in interface TRTrackerServerTorrentStats
getLeecherCount
public int getLeecherCount()
- Specified by:
getLeecherCount
in interface TRTrackerServerTorrentStats
getQueuedCount
public int getQueuedCount()
- Specified by:
getQueuedCount
in interface TRTrackerServerTorrentStats
getBadNATPeerCount
public int getBadNATPeerCount()
- Specified by:
getBadNATPeerCount
in interface TRTrackerServerTorrentStats
getString
public java.lang.String getString()
- Specified by:
getString
in interface TRTrackerServerTorrentStats