|
||||||||||
| 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.RoutedQueryStat
This class contains a type-safe enumeration of all classes that store statistics on routed queries.
| Field Summary | |
static RoutedQueryStat |
ALL_INCOMING_LEAF_QUERIES
RoutedQueryStat for all incoming routed queries. |
static RoutedQueryStat |
ALL_OUTGOING_LEAF_QUERIES
RoutedQueryStat for all queries potentially routed to leaves. |
static RoutedQueryStat |
ALL_OUTGOING_ULTRAPEER_QUERIES
RoutedQueryStat for all queries potentially routed to Ultrapeers. |
static RoutedQueryStat |
LEAF_DROP
RoutedQueryStat for queries that are dropped before being sent to other leaves (no match in the QRP tables). |
static RoutedQueryStat |
LEAF_FALSE_POSITIVE
RoutedQueryStat for incoming routed queries that are false positives. |
static RoutedQueryStat |
LEAF_HIT
RoutedQueryStat for incoming routed queries that are hits. |
static RoutedQueryStat |
LEAF_SEND
RoutedQueryStat for queries that are forwarded to other QRP leaves (match in the QRP tables). |
static RoutedQueryStat |
ULTRAPEER_DROP
RoutedQueryStat for queries that are dropped before being sent to other Ultrapeers (no match in the QRP tables). |
static RoutedQueryStat |
ULTRAPEER_SEND
RoutedQueryStat for queries that are forwarded to other QRP Ultrapeers (match in the QRP tables). |
| 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 RoutedQueryStat ALL_OUTGOING_ULTRAPEER_QUERIES
public static final RoutedQueryStat ALL_OUTGOING_LEAF_QUERIES
public static final RoutedQueryStat ALL_INCOMING_LEAF_QUERIES
public static final RoutedQueryStat ULTRAPEER_SEND
public static final RoutedQueryStat ULTRAPEER_DROP
public static final RoutedQueryStat LEAF_SEND
public static final RoutedQueryStat LEAF_DROP
public static final RoutedQueryStat LEAF_FALSE_POSITIVE
public static final RoutedQueryStat LEAF_HIT
| Method Detail |
public void incrementStat()
Statistic
incrementStat in interface StatisticincrementStat in class AbstractStatisticpublic void addData(int data)
Statistic
addData in interface StatisticaddData in class AbstractStatistic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||