|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.core3.global.impl.GlobalManagerStatsImpl
public class GlobalManagerStatsImpl
Constructor Summary | |
---|---|
protected |
GlobalManagerStatsImpl(GlobalManagerImpl _manager)
|
Method Summary | |
---|---|
void |
dataBytesReceived(int length,
boolean LAN)
|
void |
dataBytesSent(int length,
boolean LAN)
|
void |
discarded(int length)
|
int |
getDataAndProtocolReceiveRate()
|
int |
getDataAndProtocolSendRate()
|
int |
getDataReceiveRate()
Data Receive Rate over the last 10s |
int |
getDataReceiveRateNoLAN()
|
int |
getDataReceiveRateNoLAN(int average_period)
|
int |
getDataSendRate()
Data Send Rate over the last 10s |
int |
getDataSendRateAtClose()
|
int |
getDataSendRateNoLAN()
|
int |
getDataSendRateNoLAN(int average_period)
|
int |
getProtocolReceiveRate()
|
int |
getProtocolReceiveRateNoLAN()
|
int |
getProtocolReceiveRateNoLAN(int average_period)
|
int |
getProtocolSendRate()
|
int |
getProtocolSendRateNoLAN()
|
int |
getProtocolSendRateNoLAN(int average_period)
|
long |
getSmoothedReceiveRate()
Smoothed Receive Rate, including data and protocol, based on "Stats Smoothing Secs" (default to 60s, min 30s) |
long |
getSmoothedSendRate()
Smoothed Send Rate, including data and protocol, based on "Stats Smoothing Secs" (default to 60s, min 30s) |
long |
getTotalDataBytesReceived()
|
long |
getTotalDataBytesSent()
|
long |
getTotalDiscardedRaw()
|
long |
getTotalProtocolBytesReceived()
|
long |
getTotalProtocolBytesSent()
|
long |
getTotalSwarmsPeerRate(boolean downloading,
boolean seeding)
|
protected void |
load()
|
void |
protocolBytesReceived(int length,
boolean LAN)
|
void |
protocolBytesSent(int length,
boolean LAN)
|
protected void |
save()
|
void |
tick(long mono_now,
int tick_count)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GlobalManagerStatsImpl(GlobalManagerImpl _manager)
Method Detail |
---|
protected void load()
protected void save()
public int getDataSendRateAtClose()
getDataSendRateAtClose
in interface GlobalManagerStats
public void discarded(int length)
discarded
in interface GlobalManagerStats
public void dataBytesReceived(int length, boolean LAN)
dataBytesReceived
in interface GlobalManagerStats
public void protocolBytesReceived(int length, boolean LAN)
protocolBytesReceived
in interface GlobalManagerStats
public void dataBytesSent(int length, boolean LAN)
dataBytesSent
in interface GlobalManagerStats
public void protocolBytesSent(int length, boolean LAN)
protocolBytesSent
in interface GlobalManagerStats
public int getDataReceiveRate()
GlobalManagerStats
getDataReceiveRate
in interface GlobalManagerStats
public int getDataReceiveRateNoLAN()
getDataReceiveRateNoLAN
in interface GlobalManagerStats
public int getDataReceiveRateNoLAN(int average_period)
getDataReceiveRateNoLAN
in interface GlobalManagerStats
public int getProtocolReceiveRate()
getProtocolReceiveRate
in interface GlobalManagerStats
public int getProtocolReceiveRateNoLAN()
getProtocolReceiveRateNoLAN
in interface GlobalManagerStats
public int getProtocolReceiveRateNoLAN(int average_period)
getProtocolReceiveRateNoLAN
in interface GlobalManagerStats
public int getDataAndProtocolReceiveRate()
getDataAndProtocolReceiveRate
in interface GlobalManagerStats
public int getDataSendRate()
GlobalManagerStats
getDataSendRate
in interface GlobalManagerStats
public int getDataSendRateNoLAN()
getDataSendRateNoLAN
in interface GlobalManagerStats
public int getDataSendRateNoLAN(int average_period)
getDataSendRateNoLAN
in interface GlobalManagerStats
public int getProtocolSendRate()
getProtocolSendRate
in interface GlobalManagerStats
public int getProtocolSendRateNoLAN()
getProtocolSendRateNoLAN
in interface GlobalManagerStats
public int getProtocolSendRateNoLAN(int average_period)
getProtocolSendRateNoLAN
in interface GlobalManagerStats
public int getDataAndProtocolSendRate()
getDataAndProtocolSendRate
in interface GlobalManagerStats
public long getTotalDataBytesSent()
getTotalDataBytesSent
in interface GlobalManagerStats
public long getTotalProtocolBytesSent()
getTotalProtocolBytesSent
in interface GlobalManagerStats
public long getTotalDataBytesReceived()
getTotalDataBytesReceived
in interface GlobalManagerStats
public long getTotalProtocolBytesReceived()
getTotalProtocolBytesReceived
in interface GlobalManagerStats
public long getTotalDiscardedRaw()
public long getTotalSwarmsPeerRate(boolean downloading, boolean seeding)
getTotalSwarmsPeerRate
in interface GlobalManagerStats
public void tick(long mono_now, int tick_count)
tick
in interface SimpleTimer.TimerTickReceiver
public long getSmoothedSendRate()
GlobalManagerStats
getSmoothedSendRate
in interface GlobalManagerStats
public long getSmoothedReceiveRate()
GlobalManagerStats
getSmoothedReceiveRate
in interface GlobalManagerStats
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |