Package com.biglybt.core.dht.transport
Interface DHTTransportStats
-
- All Known Implementing Classes:
DHTTransportLoopbackStatsImpl
,DHTTransportStatsImpl
,DHTTransportUDPStatsImpl
public interface DHTTransportStats
-
-
Field Summary
Fields Modifier and Type Field Description static int
AT_FIND_NODE
static int
AT_FIND_VALUE
static int
AT_KEY_BLOCK
static int
AT_PING
static int
AT_QUERY_STORE
static int
AT_STATS
static int
AT_STORE
static int
STAT_FAILED
static int
STAT_OK
static int
STAT_RECEIVED
static int
STAT_SENT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long[]
getAliens()
long
getBytesReceived()
long
getBytesSent()
long[]
getData()
long[]
getFindNodes()
long[]
getFindValues()
long
getIncomingRequests()
long[]
getKeyBlocks()
long
getPacketsReceived()
long
getPacketsSent()
long[]
getPings()
returns pings sent, pings succeeded, pings failed, pings receivedlong[]
getQueryStores()
long
getRequestsTimedOut()
int
getRouteablePercentage()
-1 if stats not yet availableint[]
getRTTHistory()
long
getSkewAverage()
long[]
getStores()
java.lang.String
getString()
DHTTransportStats
snapshot()
-
-
-
Field Detail
-
STAT_SENT
static final int STAT_SENT
- See Also:
- Constant Field Values
-
STAT_OK
static final int STAT_OK
- See Also:
- Constant Field Values
-
STAT_FAILED
static final int STAT_FAILED
- See Also:
- Constant Field Values
-
STAT_RECEIVED
static final int STAT_RECEIVED
- See Also:
- Constant Field Values
-
AT_FIND_NODE
static final int AT_FIND_NODE
- See Also:
- Constant Field Values
-
AT_FIND_VALUE
static final int AT_FIND_VALUE
- See Also:
- Constant Field Values
-
AT_PING
static final int AT_PING
- See Also:
- Constant Field Values
-
AT_STATS
static final int AT_STATS
- See Also:
- Constant Field Values
-
AT_STORE
static final int AT_STORE
- See Also:
- Constant Field Values
-
AT_KEY_BLOCK
static final int AT_KEY_BLOCK
- See Also:
- Constant Field Values
-
AT_QUERY_STORE
static final int AT_QUERY_STORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
java.lang.String getString()
-
-