Author: toad
Date: 2007-08-22 23:57:47 +0000 (Wed, 22 Aug 2007)
New Revision: 14854
Modified:
trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
Log:
Show the two new stats on the web interface
Modified: trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2007-08-22 23:51:17 UTC (rev 14853)
+++ trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2007-08-22 23:57:47 UTC (rev 14854)
@@ -457,6 +457,8 @@
int swapsRejectedLoop = node.getSwapsRejectedLoop();
int swapsRejectedRecognizedID =
node.getSwapsRejectedRecognizedID();
double locChangeSession = node.getLocationChangeSession();
+ int averageSwapTime = node.getAverageOutgoingSwapTime();
+ int sendSwapInterval = node.getSendSwapInterval();
HTMLNode locationSwapInfoboxContent =
locationSwapInfobox.addChild("div", "class", "infobox-content");
HTMLNode locationSwapList =
locationSwapInfoboxContent.addChild("ul");
@@ -499,7 +501,9 @@
}
if (swapsRejectedRecognizedID > 0) {
locationSwapList.addChild("li",
"swapsRejectedRecognizedID:\u00a0" + swapsRejectedRecognizedID);
- }
+ }
+ locationSwapList.addChild("li", "averageSwapTime:\u00a0" +
averageSwapTime);
+ locationSwapList.addChild("li", "sendSwapInterval:\u00a0" +
sendSwapInterval);
}