com.aelitis.azureus.core.dht.transport.loopback
Class DHTTransportLoopbackStatsImpl

java.lang.Object
  extended by com.aelitis.azureus.core.dht.transport.util.DHTTransportStatsImpl
      extended by com.aelitis.azureus.core.dht.transport.loopback.DHTTransportLoopbackStatsImpl
All Implemented Interfaces:
DHTTransportStats

public class DHTTransportLoopbackStatsImpl
extends DHTTransportStatsImpl

Author:
parg

Field Summary
 
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
 
Constructor Summary
protected DHTTransportLoopbackStatsImpl(byte pv)
           
 
Method Summary
 long getBytesReceived()
           
 long getBytesSent()
           
 long getPacketsReceived()
           
 long getPacketsSent()
           
 long getRequestsTimedOut()
           
 int getRouteablePercentage()
          -1 if stats not yet available
 DHTTransportStats snapshot()
           
 
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
 

Constructor Detail

DHTTransportLoopbackStatsImpl

protected DHTTransportLoopbackStatsImpl(byte pv)
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()