com.aelitis.azureus.core.dht.transport.udp.impl
Class DHTTransportUDPStatsImpl
java.lang.Object
com.aelitis.azureus.core.dht.transport.util.DHTTransportStatsImpl
com.aelitis.azureus.core.dht.transport.udp.impl.DHTTransportUDPStatsImpl
- All Implemented Interfaces:
- DHTTransportStats
public class DHTTransportUDPStatsImpl
- 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, 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 |
DHTTransportUDPStatsImpl
protected DHTTransportUDPStatsImpl(DHTTransportUDPImpl _transport,
byte _pv,
DHTUDPPacketHandlerStats _stats)
setStats
protected void setStats(DHTUDPPacketHandlerStats _stats)
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()
getString
public String getString()
- Specified by:
getString
in interface DHTTransportStats
- Overrides:
getString
in class DHTTransportStatsImpl