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)
Copyright © 2011. All Rights Reserved.