* updated stats:

- sendsPerFailure: how many partial sends we make when they all fail
- timeoutCongestionInbound: describes how much faster than our average speed we were receiving data when each partial send timed out (in Bps)
- timeoutCongestionMessage: our send processing time when each partial send timed out (in ms)
- timeoutCongestionTunnel: our tunnel test time when each partial send timed out (in ms)
- participatingMessagesProcessedActive: # of messages more than the (most recent) average that a tunnel we were participating in transmitted (for tunnels with more than the average)
* updated to use Writer for rendering the console, so we can do partial writes (and hopefully help debug some kooky threading bugs on kaffe)
This commit is contained in:
jrandom
2004-09-29 22:54:38 +00:00
committed by zzz
parent 62ed6c6a58
commit b6017c558a
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ package net.i2p.router;
* *
*/ */
import java.io.OutputStream; import java.io.Writer;
import java.util.List; import java.util.List;
/** /**
@ -31,6 +31,6 @@ class DummyPeerManagerFacade implements PeerManagerFacade {
public void shutdown() {} public void shutdown() {}
public void startup() {} public void startup() {}
public void restart() {} public void restart() {}
public void renderStatusHTML(OutputStream out) { } public void renderStatusHTML(Writer out) { }
public List selectPeers(PeerSelectionCriteria criteria) { return null; } public List selectPeers(PeerSelectionCriteria criteria) { return null; }
} }

View File

@ -9,7 +9,7 @@ package net.i2p.router.transport;
*/ */
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.Writer;
import java.util.HashSet; import java.util.HashSet;
import java.util.List; import java.util.List;
import java.util.Properties; import java.util.Properties;
@ -66,7 +66,7 @@ public class CommSystemFacadeImpl extends CommSystemFacade {
return _manager.getMostRecentErrorMessages(); return _manager.getMostRecentErrorMessages();
} }
public void renderStatusHTML(OutputStream out) throws IOException { public void renderStatusHTML(Writer out) throws IOException {
_manager.renderStatusHTML(out); _manager.renderStatusHTML(out);
} }