Package freenet.node

Examples of freenet.node.RequestStarterGroup


    // Load balancing box
    // Include overall window, and RTTs for each
   
    loadStatsInfobox.addChild("div", "class", "infobox-header", "Load limiting "+(realTime ? "RealTime" : "Bulk"));
    HTMLNode loadStatsContent = loadStatsInfobox.addChild("div", "class", "infobox-content");
    RequestStarterGroup starters = core.requestStarters;
    double window = starters.getWindow(realTime);
    double realWindow = starters.getRealWindow(realTime);
    HTMLNode loadStatsList = loadStatsContent.addChild("ul");
    loadStatsList.addChild("li", l10n("globalWindow")+": "+window);
    loadStatsList.addChild("li", l10n("realGlobalWindow")+": "+realWindow);
    loadStatsList.addChild("li", starters.statsPageLine(false, false, realTime));
    loadStatsList.addChild("li", starters.statsPageLine(true, false, realTime));
    loadStatsList.addChild("li", starters.statsPageLine(false, true, realTime));
    loadStatsList.addChild("li", starters.statsPageLine(true, true, realTime));
    loadStatsList.addChild("li", starters.diagnosticThrottlesLine(false));
    loadStatsList.addChild("li", starters.diagnosticThrottlesLine(true));
  }
View Full Code Here

TOP

Related Classes of freenet.node.RequestStarterGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.