|
||||||||||
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.AbstractKilobytesStatistic
com.limegroup.gnutella.statistics.AdvancedKilobytesStatistic
com.limegroup.gnutella.statistics.CompressionStat
This class contains a type-safe enumeration of all classes for compression data.
Field Summary | |
static Statistic |
DOWNSTREAM_COMPRESSED
Statistic for all downstream compressed bandwidth. |
static Statistic |
DOWNSTREAM_UNCOMPRESSED
Statistic for all downstream uncompressed bandwidth. |
static Statistic |
GNUTELLA_COMPRESSED_DOWNSTREAM
Statistic for all downstream Gnutella compressed traffic. |
static Statistic |
GNUTELLA_COMPRESSED_UPSTREAM
Statistic for all upstream Gnutella compressed traffic. |
static Statistic |
GNUTELLA_UNCOMPRESSED_DOWNSTREAM
Statistic for all downstream Gnutella uncompressed traffic. |
static Statistic |
GNUTELLA_UNCOMPRESSED_UPSTREAM
Statistic for all upstream Gnutella uncompressed traffic. |
static Statistic |
HTTP_COMPRESSED_DOWNSTREAM
Statistic for all downstream HTTP compressed traffic. |
static Statistic |
HTTP_COMPRESSED_UPSTREAM
Statistic for all upstream HTTP compressed traffic. |
static Statistic |
HTTP_UNCOMPRESSED_DOWNSTREAM
Statistic for all downstream HTTP uncompressed traffic. |
static Statistic |
HTTP_UNCOMPRESSED_UPSTREAM
Statistic for all upstream HTTP uncompressed traffic. |
static Statistic |
UPSTREAM_COMPRESSED
Statistic for all upstream compressed bandwidth. |
static Statistic |
UPSTREAM_UNCOMPRESSED
Statistic for all upstream uncompressed bandwidth. |
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.AbstractKilobytesStatistic |
getAverage, getMax, getTotal |
Methods inherited from class com.limegroup.gnutella.statistics.AbstractStatistic |
clearData, getStatHistory, 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 UPSTREAM_UNCOMPRESSED
public static final Statistic DOWNSTREAM_UNCOMPRESSED
public static final Statistic UPSTREAM_COMPRESSED
public static final Statistic DOWNSTREAM_COMPRESSED
public static final Statistic GNUTELLA_UNCOMPRESSED_UPSTREAM
public static final Statistic GNUTELLA_UNCOMPRESSED_DOWNSTREAM
public static final Statistic GNUTELLA_COMPRESSED_UPSTREAM
public static final Statistic GNUTELLA_COMPRESSED_DOWNSTREAM
public static final Statistic HTTP_UNCOMPRESSED_UPSTREAM
public static final Statistic HTTP_UNCOMPRESSED_DOWNSTREAM
public static final Statistic HTTP_COMPRESSED_UPSTREAM
public static final Statistic HTTP_COMPRESSED_DOWNSTREAM
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 |