org.gudy.azureus2.pluginsimpl.local.download
Class DownloadManagerStatsImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.download.DownloadManagerStatsImpl
All Implemented Interfaces:
DownloadManagerStats

public class DownloadManagerStatsImpl
extends Object
implements DownloadManagerStats


Constructor Summary
protected DownloadManagerStatsImpl(GlobalManager _gm)
           
 
Method Summary
 int getDataAndProtocolReceiveRate()
           
 int getDataAndProtocolSendRate()
           
 long getDataBytesReceived()
          data received since session start
 long getDataBytesSent()
           
 int getDataReceiveRate()
          current data receive rate
 int getDataSendRate()
           
 long getOverallDataBytesReceived()
          bytes ever received
 long getOverallDataBytesSent()
          bytes ever sent
 long getProtocolBytesReceived()
           
 long getProtocolBytesSent()
           
 int getProtocolReceiveRate()
           
 int getProtocolSendRate()
           
 long getSessionUptimeSeconds()
          how long since az started
 long getSmoothedReceiveRate()
           
 long getSmoothedSendRate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadManagerStatsImpl

protected DownloadManagerStatsImpl(GlobalManager _gm)
Method Detail

getOverallDataBytesReceived

public long getOverallDataBytesReceived()
Description copied from interface: DownloadManagerStats
bytes ever received

Specified by:
getOverallDataBytesReceived in interface DownloadManagerStats
Returns:

getOverallDataBytesSent

public long getOverallDataBytesSent()
Description copied from interface: DownloadManagerStats
bytes ever sent

Specified by:
getOverallDataBytesSent in interface DownloadManagerStats
Returns:

getSessionUptimeSeconds

public long getSessionUptimeSeconds()
Description copied from interface: DownloadManagerStats
how long since az started

Specified by:
getSessionUptimeSeconds in interface DownloadManagerStats
Returns:

getDataReceiveRate

public int getDataReceiveRate()
Description copied from interface: DownloadManagerStats
current data receive rate

Specified by:
getDataReceiveRate in interface DownloadManagerStats
Returns:

getProtocolReceiveRate

public int getProtocolReceiveRate()
Specified by:
getProtocolReceiveRate in interface DownloadManagerStats

getDataAndProtocolReceiveRate

public int getDataAndProtocolReceiveRate()
Specified by:
getDataAndProtocolReceiveRate in interface DownloadManagerStats

getDataSendRate

public int getDataSendRate()
Specified by:
getDataSendRate in interface DownloadManagerStats

getProtocolSendRate

public int getProtocolSendRate()
Specified by:
getProtocolSendRate in interface DownloadManagerStats

getDataAndProtocolSendRate

public int getDataAndProtocolSendRate()
Specified by:
getDataAndProtocolSendRate in interface DownloadManagerStats

getDataBytesReceived

public long getDataBytesReceived()
Description copied from interface: DownloadManagerStats
data received since session start

Specified by:
getDataBytesReceived in interface DownloadManagerStats
Returns:

getProtocolBytesReceived

public long getProtocolBytesReceived()
Specified by:
getProtocolBytesReceived in interface DownloadManagerStats

getDataBytesSent

public long getDataBytesSent()
Specified by:
getDataBytesSent in interface DownloadManagerStats

getProtocolBytesSent

public long getProtocolBytesSent()
Specified by:
getProtocolBytesSent in interface DownloadManagerStats

getSmoothedReceiveRate

public long getSmoothedReceiveRate()
Specified by:
getSmoothedReceiveRate in interface DownloadManagerStats

getSmoothedSendRate

public long getSmoothedSendRate()
Specified by:
getSmoothedSendRate in interface DownloadManagerStats