Class DHTTransportLoopbackStatsImpl
- java.lang.Object
-
- com.biglybt.core.dht.transport.util.DHTTransportStatsImpl
-
- com.biglybt.core.dht.transport.loopback.DHTTransportLoopbackStatsImpl
-
- All Implemented Interfaces:
DHTTransportStats
public class DHTTransportLoopbackStatsImpl extends DHTTransportStatsImpl
-
-
Field Summary
-
Fields inherited from interface com.biglybt.core.dht.transport.DHTTransportStats
AT_FIND_NODE, AT_FIND_VALUE, AT_KEY_BLOCK, AT_PING, AT_QUERY_STORE, AT_STATS, AT_STORE, STAT_FAILED, STAT_OK, STAT_RECEIVED, STAT_SENT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DHTTransportLoopbackStatsImpl(byte pv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBytesReceived()
long
getBytesSent()
long
getPacketsReceived()
long
getPacketsSent()
long
getRequestsTimedOut()
int
getRouteablePercentage()
-1 if stats not yet availableDHTTransportStats
snapshot()
-
Methods inherited from class com.biglybt.core.dht.transport.util.DHTTransportStatsImpl
add, dataFailed, dataOK, dataReceived, dataSent, findNodeFailed, findNodeOK, findNodeReceived, findNodeSent, findValueFailed, findValueOK, findValueReceived, findValueSent, getAliens, getData, getFindNodes, getFindValues, getIncomingRequests, getKeyBlocks, getPings, getProtocolVersion, getQueryStores, getRTTHistory, getSkewAverage, getStores, getString, getString, incomingRequestReceived, keyBlockFailed, keyBlockOK, keyBlockReceived, keyBlockSent, outgoingRequestSent, pingFailed, pingOK, pingReceived, pingSent, queryStoreFailed, queryStoreOK, queryStoreReceived, queryStoreSent, receivedRTT, recordSkew, snapshotSupport, statsFailed, statsOK, statsReceived, statsSent, storeFailed, storeOK, storeReceived, storeSent
-
-
-
-
Method Detail
-
getPacketsSent
public long getPacketsSent()
-
getPacketsReceived
public long getPacketsReceived()
-
getRequestsTimedOut
public long getRequestsTimedOut()
-
getBytesSent
public long getBytesSent()
-
getBytesReceived
public long getBytesReceived()
-
getRouteablePercentage
public int getRouteablePercentage()
Description copied from interface:DHTTransportStats
-1 if stats not yet available- Returns:
-
snapshot
public DHTTransportStats snapshot()
-
-