|
||||||||||
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.HandshakingStat
This class contains a type-safe enumeration of statistics for handshaking
Field Summary | |
static Statistic |
INCOMING_CRAWLER
Statistic for an incoming crawler connection. |
static Statistic |
LEAF_INCOMING_ACCEPT
Statistic for an incoming accepted connection if we're a leaf. |
static Statistic |
LEAF_INCOMING_REJECT
Statistic for an incoming rejected connection if we're a leaf. |
static Statistic |
LEAF_OUTGOING_ACCEPT
Statistic for an outgoing accepted connection to anything if we're a leaf. |
static Statistic |
LEAF_OUTGOING_REJECT_LEAF
Statstic for an outgoing rejected connection to a leaf if we're a leaf. |
static Statistic |
LEAF_OUTGOING_REJECT_OLD_UP
Statistic for an outgoing rejected connection to a not-good Ultrapeer if we're a leaf. |
static Statistic |
UP_INCOMING_ACCEPT_LEAF
Statistic for an incoming accepted connection to an ultrapeer by a leaf. |
static Statistic |
UP_INCOMING_ACCEPT_UP
Statistic for an incoming accepted connection by another ultrapeer. |
static Statistic |
UP_INCOMING_GUIDED
Statistic for an incoming connection we're guiding to become a leaf. |
static Statistic |
UP_INCOMING_REJECT_LEAF
Statistic for an incoming rejected connection to an ultrapeer by a leaf. |
static Statistic |
UP_INCOMING_REJECT_NO_ROOM_LEAF
Statistic for an incoming rejected connection because there was no room for either an ultrapeer or a leaf. |
static Statistic |
UP_INCOMING_REJECT_NO_ROOM_UP
Statistic for an incoming rejected connection because we wanted them to become a supernode but had no room for a supernode. |
static Statistic |
UP_OUTGOING_ACCEPT
Statistic for an outgoing connection to an ultrapeer that did not give us guidance and we accepted. |
static Statistic |
UP_OUTGOING_GUIDANCE_FOLLOWED
Statistic for an outgoing guided connection to an ultrapeer. |
static Statistic |
UP_OUTGOING_GUIDANCE_IGNORED
Statistic for an outgoing guided connection to an ultrapeer that gave us guidance, but we ignored it and stayed an ultrapeer |
static Statistic |
UP_OUTGOING_REJECT_FULL
Statistic for an outgoing rejected connection to an ultrapeer because we didn't have enough room if we're an ultrapeer. |
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 LEAF_OUTGOING_REJECT_LEAF
public static final Statistic LEAF_OUTGOING_REJECT_OLD_UP
public static final Statistic LEAF_OUTGOING_ACCEPT
public static final Statistic LEAF_INCOMING_REJECT
public static final Statistic LEAF_INCOMING_ACCEPT
public static final Statistic UP_OUTGOING_REJECT_FULL
public static final Statistic UP_OUTGOING_GUIDANCE_FOLLOWED
public static final Statistic UP_OUTGOING_GUIDANCE_IGNORED
public static final Statistic UP_OUTGOING_ACCEPT
public static final Statistic INCOMING_CRAWLER
public static final Statistic UP_INCOMING_REJECT_LEAF
public static final Statistic UP_INCOMING_ACCEPT_LEAF
public static final Statistic UP_INCOMING_GUIDED
public static final Statistic UP_INCOMING_ACCEPT_UP
public static final Statistic UP_INCOMING_REJECT_NO_ROOM_LEAF
public static final Statistic UP_INCOMING_REJECT_NO_ROOM_UP
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 |