com.aelitis.azureus.core.dht.control.impl
Class DHTControlStatsImpl

java.lang.Object
  extended by com.aelitis.azureus.core.dht.control.impl.DHTControlStatsImpl
All Implemented Interfaces:
DHTControlStats, DHTTransportFullStats

public class DHTControlStatsImpl
extends Object
implements DHTTransportFullStats, DHTControlStats

Author:
parg

Constructor Summary
protected DHTControlStatsImpl(DHTControlImpl _control)
           
 
Method Summary
 long getAverageBytesReceived()
           
 long getAverageBytesSent()
           
 long getAveragePacketsReceived()
           
 long getAveragePacketsSent()
           
 long getDBKeyCount()
           
 long getDBKeyDivFreqCount()
           
 long getDBKeyDivSizeCount()
           
 long getDBKeysBlocked()
           
 long getDBStoreSize()
           
 long getDBValueCount()
           
 long getDBValuesStored()
           
 long getEstimatedDHTSize()
           
 long getIncomingRequests()
           
 long getRouterContacts()
           
 int getRouterCount()
          Number of routers instantiated - new one created if our external IP changes
 long getRouterLeaves()
           
 long getRouterNodes()
           
 long getRouterUptime()
          Uptime of the latest router instance
 String getString()
           
 long getTotalBytesReceived()
           
 long getTotalBytesSent()
           
 long getTotalFindNodesReceived()
           
 long getTotalFindValuesReceived()
           
 long getTotalKeyBlocksReceived()
           
 long getTotalPacketsReceived()
           
 long getTotalPacketsSent()
           
 long getTotalPingsReceived()
           
 long getTotalStoresReceived()
           
protected  int[] getValueDetails()
           
 String getVersion()
           
protected  void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTControlStatsImpl

protected DHTControlStatsImpl(DHTControlImpl _control)
Method Detail

update

protected void update()

getTotalBytesReceived

public long getTotalBytesReceived()
Specified by:
getTotalBytesReceived in interface DHTTransportFullStats

getTotalBytesSent

public long getTotalBytesSent()
Specified by:
getTotalBytesSent in interface DHTTransportFullStats

getTotalPacketsReceived

public long getTotalPacketsReceived()
Specified by:
getTotalPacketsReceived in interface DHTTransportFullStats

getTotalPacketsSent

public long getTotalPacketsSent()
Specified by:
getTotalPacketsSent in interface DHTTransportFullStats

getTotalPingsReceived

public long getTotalPingsReceived()
Specified by:
getTotalPingsReceived in interface DHTTransportFullStats

getTotalFindNodesReceived

public long getTotalFindNodesReceived()
Specified by:
getTotalFindNodesReceived in interface DHTTransportFullStats

getTotalFindValuesReceived

public long getTotalFindValuesReceived()
Specified by:
getTotalFindValuesReceived in interface DHTTransportFullStats

getTotalStoresReceived

public long getTotalStoresReceived()
Specified by:
getTotalStoresReceived in interface DHTTransportFullStats

getTotalKeyBlocksReceived

public long getTotalKeyBlocksReceived()
Specified by:
getTotalKeyBlocksReceived in interface DHTTransportFullStats

getAverageBytesReceived

public long getAverageBytesReceived()
Specified by:
getAverageBytesReceived in interface DHTTransportFullStats

getAverageBytesSent

public long getAverageBytesSent()
Specified by:
getAverageBytesSent in interface DHTTransportFullStats

getAveragePacketsReceived

public long getAveragePacketsReceived()
Specified by:
getAveragePacketsReceived in interface DHTTransportFullStats

getAveragePacketsSent

public long getAveragePacketsSent()
Specified by:
getAveragePacketsSent in interface DHTTransportFullStats

getIncomingRequests

public long getIncomingRequests()
Specified by:
getIncomingRequests in interface DHTTransportFullStats

getValueDetails

protected int[] getValueDetails()

getDBValuesStored

public long getDBValuesStored()
Specified by:
getDBValuesStored in interface DHTTransportFullStats

getDBKeyCount

public long getDBKeyCount()
Specified by:
getDBKeyCount in interface DHTTransportFullStats

getDBValueCount

public long getDBValueCount()
Specified by:
getDBValueCount in interface DHTTransportFullStats

getDBKeysBlocked

public long getDBKeysBlocked()
Specified by:
getDBKeysBlocked in interface DHTTransportFullStats

getDBKeyDivSizeCount

public long getDBKeyDivSizeCount()
Specified by:
getDBKeyDivSizeCount in interface DHTTransportFullStats

getDBKeyDivFreqCount

public long getDBKeyDivFreqCount()
Specified by:
getDBKeyDivFreqCount in interface DHTTransportFullStats

getDBStoreSize

public long getDBStoreSize()
Specified by:
getDBStoreSize in interface DHTTransportFullStats

getRouterNodes

public long getRouterNodes()
Specified by:
getRouterNodes in interface DHTTransportFullStats

getRouterLeaves

public long getRouterLeaves()
Specified by:
getRouterLeaves in interface DHTTransportFullStats

getRouterContacts

public long getRouterContacts()
Specified by:
getRouterContacts in interface DHTTransportFullStats

getRouterUptime

public long getRouterUptime()
Description copied from interface: DHTControlStats
Uptime of the latest router instance

Specified by:
getRouterUptime in interface DHTControlStats
Specified by:
getRouterUptime in interface DHTTransportFullStats

getRouterCount

public int getRouterCount()
Description copied from interface: DHTControlStats
Number of routers instantiated - new one created if our external IP changes

Specified by:
getRouterCount in interface DHTControlStats
Specified by:
getRouterCount in interface DHTTransportFullStats

getVersion

public String getVersion()
Specified by:
getVersion in interface DHTTransportFullStats

getEstimatedDHTSize

public long getEstimatedDHTSize()
Specified by:
getEstimatedDHTSize in interface DHTControlStats

getString

public String getString()
Specified by:
getString in interface DHTTransportFullStats