com.aelitis.azureus.core.dht.transport.loopback
Class DHTTransportLoopbackStatsImpl
java.lang.Object
com.aelitis.azureus.core.dht.transport.util.DHTTransportStatsImpl
com.aelitis.azureus.core.dht.transport.loopback.DHTTransportLoopbackStatsImpl
- All Implemented Interfaces:
- DHTTransportStats
public class DHTTransportLoopbackStatsImpl
- extends DHTTransportStatsImpl
- Author:
- parg
Fields inherited from interface com.aelitis.azureus.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 |
Methods inherited from class com.aelitis.azureus.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHTTransportLoopbackStatsImpl
protected DHTTransportLoopbackStatsImpl(byte pv)
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()