Class DHTTransportLoopbackStatsImpl
java.lang.Object
com.biglybt.core.dht.transport.util.DHTTransportStatsImpl
com.biglybt.core.dht.transport.loopback.DHTTransportLoopbackStatsImpl
- All Implemented Interfaces:
DHTTransportStats
-
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 -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
int
-1 if stats not yet availablesnapshot()
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
-
Constructor Details
-
DHTTransportLoopbackStatsImpl
protected DHTTransportLoopbackStatsImpl(byte pv)
-
-
Method Details
-
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
-