|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.statistics.AbstractStatistic
com.limegroup.gnutella.statistics.AdvancedStatistic
com.limegroup.gnutella.statistics.RouteErrorStat
This class contains a type-safe enumeration of all classes that store statistics on routing errors.
Field Summary | |
static Statistic |
ALL_ROUTE_ERRORS
Statistic for all route errors. |
static Statistic |
HARD_LIMIT_QUERY_REPLY_ROUTE_ERRORS
Statistic for Gnutella query reply routing errors from hard kilobyte limit. |
static Statistic |
NO_ROUTE_QUERY_REPLY_ROUTE_ERRORS
Statistic for Gnutella query reply routing errors from not finding a route. |
static Statistic |
PING_REPLY_ROUTE_ERRORS
Statistic for Gnutella pong routing errors. |
static Statistic |
PUSH_REQUEST_ROUTE_ERRORS
Statistic for Gnutella push routing errors. |
static Statistic |
QUERY_REPLY_ROUTE_ERRORS
Statistic for Gnutella query reply routing errors. |
Fields inherited from class com.limegroup.gnutella.statistics.AbstractStatistic |
_buffer, _current, _fileName, _max, _total, _totalStatsRecorded, STATS_MANAGER |
Fields inherited from interface com.limegroup.gnutella.statistics.Statistic |
HISTORY_LENGTH |
Method Summary | |
void |
addData(int data)
Add the specified number to the current recording for this statistic. |
void |
incrementStat()
Increments this statistic by one. |
Methods inherited from class com.limegroup.gnutella.statistics.AbstractStatistic |
clearData, getAverage, getMax, getStatHistory, getTotal, initializeBuffer, setWriteStatToFile, storeCurrentStat |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Statistic ALL_ROUTE_ERRORS
public static final Statistic PING_REPLY_ROUTE_ERRORS
public static final Statistic QUERY_REPLY_ROUTE_ERRORS
public static final Statistic PUSH_REQUEST_ROUTE_ERRORS
public static final Statistic HARD_LIMIT_QUERY_REPLY_ROUTE_ERRORS
public static final Statistic NO_ROUTE_QUERY_REPLY_ROUTE_ERRORS
Method Detail |
public void incrementStat()
Statistic
incrementStat
in interface Statistic
incrementStat
in class AbstractStatistic
public void addData(int data)
Statistic
addData
in interface Statistic
addData
in class AbstractStatistic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |