net.tomp2p.p2p
Class Statistics
java.lang.Object
net.tomp2p.p2p.Statistics
public class Statistics
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Statistics
public Statistics(List<Map<Number160,PeerAddress>> peerMap,
Number160 remotePeer,
int maxSize,
int bagSize)
triggerStatUpdate
public void triggerStatUpdate(boolean insert,
int currentSize)
getEstimatedNumberOfNodes
public double getEstimatedNumberOfNodes()
getAvgGap
public double getAvgGap()
tooClose
public static void tooClose(Collection<PeerAddress> collection)
incrementTCPChannelCreation
public void incrementTCPChannelCreation()
incrementUDPChannelCreation
public void incrementUDPChannelCreation()
decrementTCPChannelCreation
public void decrementTCPChannelCreation()
decrementUDPChannelCreation
public void decrementUDPChannelCreation()
getTCPChannelCreationCount
public long getTCPChannelCreationCount()
getUDPChannelCreationCount
public long getUDPChannelCreationCount()
getTCPChannelCount
public long getTCPChannelCount()
getUDPChannelCount
public long getUDPChannelCount()
Copyright © 2013. All Rights Reserved.