Package com.biglybt.core.dht.transport
Interface DHTTransportStats
- All Known Implementing Classes:
DHTTransportLoopbackStatsImpl
,DHTTransportStatsImpl
,DHTTransportUDPStatsImpl
public interface DHTTransportStats
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
STAT_SENT
static final int STAT_SENT- See Also:
-
STAT_OK
static final int STAT_OK- See Also:
-
STAT_FAILED
static final int STAT_FAILED- See Also:
-
STAT_RECEIVED
static final int STAT_RECEIVED- See Also:
-
AT_FIND_NODE
static final int AT_FIND_NODE- See Also:
-
AT_FIND_VALUE
static final int AT_FIND_VALUE- See Also:
-
AT_PING
static final int AT_PING- See Also:
-
AT_STATS
static final int AT_STATS- See Also:
-
AT_STORE
static final int AT_STORE- See Also:
-
AT_KEY_BLOCK
static final int AT_KEY_BLOCK- See Also:
-
AT_QUERY_STORE
static final int AT_QUERY_STORE- See Also:
-
-
Method Details
-
getPings
long[] getPings()returns pings sent, pings succeeded, pings failed, pings received- Returns:
-
getFindNodes
long[] getFindNodes() -
getFindValues
long[] getFindValues() -
getStores
long[] getStores() -
getQueryStores
long[] getQueryStores() -
getData
long[] getData() -
getKeyBlocks
long[] getKeyBlocks() -
getAliens
long[] getAliens() -
getIncomingRequests
long getIncomingRequests() -
getPacketsSent
long getPacketsSent() -
getPacketsReceived
long getPacketsReceived() -
getRequestsTimedOut
long getRequestsTimedOut() -
getBytesSent
long getBytesSent() -
getBytesReceived
long getBytesReceived() -
snapshot
DHTTransportStats snapshot() -
getSkewAverage
long getSkewAverage() -
getRouteablePercentage
int getRouteablePercentage()-1 if stats not yet available- Returns:
-
getRTTHistory
int[] getRTTHistory() -
getString
String getString()
-