Package | Description |
---|---|
net.i2p.router.peermanager |
The peer manager logs information about the history and quality of network peers.
|
net.i2p.stat |
These classes define the statistics package used extensively throughout
the I2P router - both for adaptive operation of the router
and for debugging.
|
Modifier and Type | Method and Description |
---|---|
RateStat |
PeerProfile.getDbIntroduction()
how many new peers we get from dbSearchReplyMessages or dbStore messages, calculated over a 1 hour, 1 day, and 1 week period
Warning - may return null if !getIsExpandedDB()
|
RateStat |
PeerProfile.getDbResponseTime()
how long it takes to get a db response from the peer (in milliseconds), calculated over a 1 minute, 1 hour, and 1 day period
Warning - may return null if !getIsExpandedDB()
|
RateStat |
DBHistory.getFailedLookupRate()
how often does the peer fail to reply to a lookup request, broken into 1 hour and 1 day periods.
|
RateStat |
TunnelHistory.getFailedRate() |
RateStat |
DBHistory.getInvalidReplyRate()
not sure how much this is used, to be investigated
|
RateStat |
TunnelHistory.getRejectionRate()
all unused
public void setLifetimeAgreedTo(long num) { _lifetimeAgreedTo = num; }
public void setLifetimeRejected(long num) { _lifetimeRejected = num; }
public void setLifetimeFailed(long num) { _lifetimeFailed = num; }
public void setLastAgreedTo(long when) { _lastAgreedTo = when; }
public void setLastRejectedCritical(long when) { _lastRejectedCritical = when; }
public void setLastRejectedBandwidth(long when) { _lastRejectedBandwidth = when; }
public void setLastRejectedTransient(long when) { _lastRejectedTransient = when; }
public void setLastRejectedProbabalistic(long when) { _lastRejectedProbabalistic = when; }
public void setLastFailed(long when) { _lastFailed = when; }
|
RateStat |
PeerProfile.getTunnelCreateResponseTime()
how long it takes to get a tunnel create response from the peer (in milliseconds), calculated over a 1 minute, 1 hour, and 1 day period
Warning - may return null if !getIsExpanded()
|
RateStat |
PeerProfile.getTunnelTestResponseTime()
how long it takes to successfully test a tunnel this peer participates in (in milliseconds), calculated over a 10 minute, 1 hour, and 1 day period
Warning - may return null if !getIsExpanded()
|
Modifier and Type | Method and Description |
---|---|
RateStat |
StatManager.getRate(String name)
Misnamed, as it returns a RateStat, not a Rate.
|
RateStat |
Rate.getRateStat() |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
RateStat.nameGroupDescEquals(RateStat rs) |
void |
Rate.setRateStat(RateStat rs) |