|
||||||||||
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.HTTPStat
This class contains a type-safe enumeration of statistics for HTTP requests. Each statistic maintains its own history, all messages received over a specific number of time intervals.
Field Summary | |
static Statistic |
BANNED_REQUESTS
Statistic for all Banned requests that have been made in this session. |
static Statistic |
CHAT_REQUESTS
Statistic for all Chat requests that have been made in this session. |
static Statistic |
CLOSED_REQUESTS
Statistic for all closed requests that have been made in this session. |
static Statistic |
GET_REQUESTS
Statistic for all HTTP GET requests that have been made in this session. |
static Statistic |
GIV_REQUESTS
Statistic for all HTTP GIV requests that have been made in this session. |
static Statistic |
GNUTELLA_LIMEWIRE_REQUESTS
Statistic for all LimeWire requests that have been made in this session. |
static Statistic |
GNUTELLA_REQUESTS
Statistic for all Gnutella requests that have been made in this session. |
static Statistic |
HEAD_REQUESTS
Statistic for all HTTP HEAD requests that have been made in this session. |
static Statistic |
HTTP_REQUESTS
Statistic for all HTTP requests of any type that have been made in this session. |
static Statistic |
MAGNET_REQUESTS
Statistic for all Magnet requests that have been made in this session. |
static Statistic |
UNKNOWN_REQUESTS
Statistic for all Unknown requests that have been made in this session. |
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 HTTP_REQUESTS
public static final Statistic HEAD_REQUESTS
public static final Statistic GET_REQUESTS
public static final Statistic GIV_REQUESTS
public static final Statistic GNUTELLA_REQUESTS
public static final Statistic GNUTELLA_LIMEWIRE_REQUESTS
public static final Statistic CHAT_REQUESTS
public static final Statistic MAGNET_REQUESTS
public static final Statistic UNKNOWN_REQUESTS
public static final Statistic BANNED_REQUESTS
public static final Statistic CLOSED_REQUESTS
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 |