|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aelitis.azureus.core.speedmanager.impl.v2.PingSourceStats
public class PingSourceStats
Keeps the ping time stats for a single source. Should calculate averages for the data.
Constructor Summary | |
---|---|
PingSourceStats(SpeedManagerPingSource _source)
|
Method Summary | |
---|---|
void |
addPingTime(int ping)
|
Average |
getHistory()
Get the average that should be used for checking ping times. |
Average |
getLongTermAve()
Get the long-term average. |
int |
getTrend()
Speculative method to see if it can determine a trend. |
void |
madeChange()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PingSourceStats(SpeedManagerPingSource _source)
Method Detail |
---|
public void madeChange()
public void addPingTime(int ping)
public int getTrend()
public Average getLongTermAve()
public Average getHistory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |