org.gudy.azureus2.core3.tracker.server.impl
Class TRTrackerServerStatsImpl
java.lang.Object
org.gudy.azureus2.core3.tracker.server.impl.TRTrackerServerStatsImpl
- All Implemented Interfaces:
- TRTrackerServerStats
public class TRTrackerServerStatsImpl
- extends java.lang.Object
- implements TRTrackerServerStats
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRTrackerServerStatsImpl
protected TRTrackerServerStatsImpl(TRTrackerServerImpl _server)
getTorrentCount
public int getTorrentCount()
- Specified by:
getTorrentCount
in interface TRTrackerServerStats
getBytesIn
public long getBytesIn()
- Specified by:
getBytesIn
in interface TRTrackerServerStats
getBytesOut
public long getBytesOut()
- Specified by:
getBytesOut
in interface TRTrackerServerStats
update
protected void update(int request_type,
int in,
int out)
updateTime
protected void updateTime(int request_type,
long time)
getAnnounceCount
public long getAnnounceCount()
- Specified by:
getAnnounceCount
in interface TRTrackerServerStats
getScrapeCount
public long getScrapeCount()
- Specified by:
getScrapeCount
in interface TRTrackerServerStats
getAnnounceTime
public long getAnnounceTime()
- Specified by:
getAnnounceTime
in interface TRTrackerServerStats
getScrapeTime
public long getScrapeTime()
- Specified by:
getScrapeTime
in interface TRTrackerServerStats