public class Statistics extends Object
Constructor and Description |
---|
Statistics(List<Map<Number160,PeerAddress>> peerMap,
Number160 remotePeer,
int maxSize,
int bagSize) |
Modifier and Type | Method and Description |
---|---|
void |
decrementTCPChannelCreation() |
void |
decrementUDPChannelCreation() |
double |
getAvgGap() |
double |
getEstimatedNumberOfNodes() |
long |
getTCPChannelCount() |
long |
getTCPChannelCreationCount() |
long |
getUDPChannelCount() |
long |
getUDPChannelCreationCount() |
void |
incrementTCPChannelCreation() |
void |
incrementUDPChannelCreation() |
static void |
tooClose(Collection<PeerAddress> collection) |
void |
triggerStatUpdate(boolean insert,
int currentSize) |
public Statistics(List<Map<Number160,PeerAddress>> peerMap, Number160 remotePeer, int maxSize, int bagSize)
public void triggerStatUpdate(boolean insert, int currentSize)
public double getEstimatedNumberOfNodes()
public double getAvgGap()
public static void tooClose(Collection<PeerAddress> collection)
public void incrementTCPChannelCreation()
public void incrementUDPChannelCreation()
public void decrementTCPChannelCreation()
public void decrementUDPChannelCreation()
public long getTCPChannelCreationCount()
public long getUDPChannelCreationCount()
public long getTCPChannelCount()
public long getUDPChannelCount()
Copyright © 2013. All Rights Reserved.