|
||||||||||
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.UploadStat
This class contains a type-safe enumeration of statistics for uploads.
Field Summary | |
static Statistic |
ATTEMPTED
Statistic for attempted uploads. |
static Statistic |
BROWSE_HOST
Statistic for the number of browse host requests we receive. |
static Statistic |
COMPLETED
Statistic for completed uploads. |
static Statistic |
COMPLETED_FILE
Statstics for completed file transfers. |
static Statistic |
FILE_NOT_FOUND
Statistic for uploads whose status is FILE_NOT_FOUND. |
static Statistic |
FREELOADER
Statistic for uploads whose status is FREELOADER |
static Statistic |
INTERRUPTED
Statistic for interrupted uploads. |
static Statistic |
LIMIT_REACHED
Statistic for uploads whose status is LIMIT_REACHED. |
static Statistic |
MALFORMED_REQUEST
Statistic for the number malformed requests we receive. |
static Statistic |
PUSH_FAILED
Statistic for failed push requests. |
static Statistic |
PUSH_PROXY
Statistic for the number of push proxy requests we receive. |
static Statistic |
PUSH_PROXY_REQ_BAD
Statistic for the number of push proxy requests that are malformed. |
static Statistic |
PUSH_PROXY_REQ_FAILED
Statistic for the number of push proxy requests that failed (leaf was gone). |
static Statistic |
PUSH_PROXY_REQ_SUCCESS
Statistic for the number of push proxy requests we successfully process. |
static Statistic |
PUSHED_GET
Statistic for a GET request after we push a GIV. |
static Statistic |
PUSHED_HEAD
Statistic for a HEAD request after we push a GIV. |
static Statistic |
PUSHED_UNKNOWN
Statistic for an unknown request after we push a GIV. |
static Statistic |
QUEUED
Statistic for uploads whose status is queued. |
static Statistic |
STALLED
Statistic for the number of uploads we have killed because they stalled. |
static Statistic |
SUBSEQUENT_GET
Statistic for GET requests that are accumulated AFTER the initial incoming HTTP connection. |
static Statistic |
SUBSEQUENT_HEAD
Statistic for HEAD requests that are accumulated AFTER the initial incoming HTTP connection. |
static Statistic |
SUBSEQUENT_UNKNOWN
Statistic for unknown requests that are accumulated AFTER the initial incoming HTTP connection. |
static Statistic |
TRADITIONAL_GET
Statistic for the number of traditional get requests we receive, such as /get/#/filename |
static Statistic |
UNAVAILABLE_RANGE
Statistic for uploads whose status is UNAVAILABLE_RANGE. |
static Statistic |
UNKNOWN_URN_GET
Statistic for the number of URN get requests we receive whose URN we do not have in our library. |
static Statistic |
UPDATE_FILE
Statistic for the number of update file requests we receive. |
static Statistic |
UPLOADING
Statistic for uploads that will actually upload a portion of the file. |
static Statistic |
URN_GET
Statistic for the number of URN get requests we receive where we do have this URN in our library. |
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 ATTEMPTED
public static final Statistic COMPLETED
public static final Statistic COMPLETED_FILE
public static final Statistic INTERRUPTED
public static final Statistic SUBSEQUENT_GET
public static final Statistic SUBSEQUENT_HEAD
public static final Statistic SUBSEQUENT_UNKNOWN
public static final Statistic FILE_NOT_FOUND
public static final Statistic LIMIT_REACHED
public static final Statistic UNAVAILABLE_RANGE
public static final Statistic FREELOADER
public static final Statistic QUEUED
public static final Statistic UPLOADING
public static final Statistic PUSHED_GET
public static final Statistic PUSHED_HEAD
public static final Statistic PUSHED_UNKNOWN
public static final Statistic PUSH_FAILED
public static final Statistic MALFORMED_REQUEST
public static final Statistic BROWSE_HOST
public static final Statistic PUSH_PROXY
public static final Statistic PUSH_PROXY_REQ_SUCCESS
public static final Statistic PUSH_PROXY_REQ_BAD
public static final Statistic PUSH_PROXY_REQ_FAILED
public static final Statistic UPDATE_FILE
public static final Statistic TRADITIONAL_GET
public static final Statistic UNKNOWN_URN_GET
public static final Statistic URN_GET
public static final Statistic STALLED
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 |