I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit b6017c55 authored by jrandom's avatar jrandom Committed by zzz
Browse files

* 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)
parent 62ed6c6a
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ package net.i2p.router; ...@@ -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 { ...@@ -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; }
} }
...@@ -9,7 +9,7 @@ package net.i2p.router.transport; ...@@ -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 { ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment