Class DownloadManagerStatsImpl
java.lang.Object
com.biglybt.pifimpl.local.download.DownloadManagerStatsImpl
- All Implemented Interfaces:
DownloadManagerStats
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
long
data received since session startlong
int
current data receive rateint
long
bytes ever receivedlong
bytes ever sentlong
long
int
int
long
how long since az startedlong
long
-
Field Details
-
global_manager_stats
-
overall_stats
-
-
Constructor Details
-
DownloadManagerStatsImpl
-
-
Method Details
-
getOverallDataBytesReceived
public long getOverallDataBytesReceived()Description copied from interface:DownloadManagerStats
bytes ever received- Specified by:
getOverallDataBytesReceived
in interfaceDownloadManagerStats
- Returns:
-
getOverallDataBytesSent
public long getOverallDataBytesSent()Description copied from interface:DownloadManagerStats
bytes ever sent- Specified by:
getOverallDataBytesSent
in interfaceDownloadManagerStats
- Returns:
-
getSessionUptimeSeconds
public long getSessionUptimeSeconds()Description copied from interface:DownloadManagerStats
how long since az started- Specified by:
getSessionUptimeSeconds
in interfaceDownloadManagerStats
- Returns:
-
getDataReceiveRate
public int getDataReceiveRate()Description copied from interface:DownloadManagerStats
current data receive rate- Specified by:
getDataReceiveRate
in interfaceDownloadManagerStats
- Returns:
-
getProtocolReceiveRate
public int getProtocolReceiveRate()- Specified by:
getProtocolReceiveRate
in interfaceDownloadManagerStats
-
getDataAndProtocolReceiveRate
public int getDataAndProtocolReceiveRate()- Specified by:
getDataAndProtocolReceiveRate
in interfaceDownloadManagerStats
-
getDataSendRate
public int getDataSendRate()- Specified by:
getDataSendRate
in interfaceDownloadManagerStats
-
getProtocolSendRate
public int getProtocolSendRate()- Specified by:
getProtocolSendRate
in interfaceDownloadManagerStats
-
getDataAndProtocolSendRate
public int getDataAndProtocolSendRate()- Specified by:
getDataAndProtocolSendRate
in interfaceDownloadManagerStats
-
getDataBytesReceived
public long getDataBytesReceived()Description copied from interface:DownloadManagerStats
data received since session start- Specified by:
getDataBytesReceived
in interfaceDownloadManagerStats
- Returns:
-
getProtocolBytesReceived
public long getProtocolBytesReceived()- Specified by:
getProtocolBytesReceived
in interfaceDownloadManagerStats
-
getDataBytesSent
public long getDataBytesSent()- Specified by:
getDataBytesSent
in interfaceDownloadManagerStats
-
getProtocolBytesSent
public long getProtocolBytesSent()- Specified by:
getProtocolBytesSent
in interfaceDownloadManagerStats
-
getSmoothedReceiveRate
public long getSmoothedReceiveRate()- Specified by:
getSmoothedReceiveRate
in interfaceDownloadManagerStats
-
getSmoothedSendRate
public long getSmoothedSendRate()- Specified by:
getSmoothedSendRate
in interfaceDownloadManagerStats
-