Packages that use Rate
Package
Description
The I2P router application handles I2P network communication.
The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war.
Helpers and handlers for the router console user interface, packaged in routerconsole.war and accessible only from JSP files.
Statistics collection framework used throughout the router for adaptive operation, monitoring and debugging.
General utility classes shared across the core libraries and the router.
Uses of Rate in net.i2p.router
Methods in net.i2p.router with parameters of type RateModifier and TypeMethodDescriptionprivate static StringThe period label of a rate.private StringStatisticsManager.renderRate(Rate rate, boolean fudgeQuantity) Simple format, only what stats.i2p needs:private StringStatisticsManager.renderRate(Rate rate, double fudgeQuantity) Simple format, only what stats.i2p needs:Uses of Rate in net.i2p.router.web
Fields in net.i2p.router.web declared as RateModifier and TypeFieldDescriptionprivate final RateGraphListener._rateRate the samples are recorded into.(package private) RateGraphRenderer.GraphRenderConfig.Builder.rateThe tracked rate, for its period, stat name and description.(package private) final RateGraphRenderer.GraphRenderConfig.rateThe tracked rate, for its period, stat name and description.Fields in net.i2p.router.web with type parameters of type RateModifier and TypeFieldDescriptionprivate final Map<Rate, GraphListener> GraphGenerator._listenerByRateIndex of listener by rate for O(1) lookup during rendering.Methods in net.i2p.router.web that return RateMethods in net.i2p.router.web that return types with arguments of type RateModifier and TypeMethodDescriptionGraphGenerator.parseSpecs(String specs) Resolve astat.summariesstring to the Rates it names.Methods in net.i2p.router.web with parameters of type RateModifier and TypeMethodDescriptionprivate booleanStart tracking a rate by creating a new GraphListener for it.booleanGraphGenerator.getXML(Rate rate, OutputStream out) Export rate data as XML.private booleanGraphGenerator.locked_getXML(Rate rate, OutputStream out) Export rate data as XML under the semaphore lock.private booleanGraphGenerator.locked_renderGraph(Rate rate, OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, int end, boolean showCredit, boolean showRestarts, boolean meta) Render a single-data graph under the semaphore lock.(package private) GraphRenderer.GraphRenderConfig.BuilderSets the rate this pass plots.private static StringName a rate for a log line, tolerating a Rate with no stat behind it.private booleanGraphGenerator.rebuildListener(Rate rate, GraphListener lsnr, String why) Replace a listener for a rate, releasing the old one first.private voidRemove a rate from tracking and stop its listener.booleanGraphGenerator.renderGraph(Rate rate, OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, int end, boolean showCredit, boolean showRestarts) Render a single-data graph with the specified options.booleanGraphGenerator.renderGraph(Rate rate, OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, int end, boolean showCredit, boolean showRestarts, boolean meta) AsGraphGenerator.renderGraph(Rate, OutputStream, int, int, boolean, boolean, boolean, boolean, int, int, boolean, boolean), but emitting the plot geometry and series as JSON.booleanGraphGenerator.renderGraphMeta(Rate rate, OutputStream out, int width, int height, boolean hideLegend, boolean hideGrid, boolean hideTitle, boolean showEvents, int periodCount, int end, boolean showCredit, boolean showRestarts) A single stat's metadata, as JSON.Constructors in net.i2p.router.web with parameters of type RateUses of Rate in net.i2p.router.web.helpers
Methods in net.i2p.router.web.helpers that return RateModifier and TypeMethodDescriptionprivate Rate[]SidebarHelper.getTunnelBuildRates(String name) Fetch the 1-minute and 10-minute rates for a named tunnel build stat.Uses of Rate in net.i2p.stat
Fields in net.i2p.stat declared as RateModifier and TypeFieldDescriptionprotected final Rate[]RateStat._ratesActual rate objects for this statistic.Methods in net.i2p.stat that return RateModifier and TypeMethodDescriptionRateStat.getRate(long period) Returns rate with requested period if it exists, otherwise null.Constructors in net.i2p.stat with parameters of type RateUses of Rate in net.i2p.util
Methods in net.i2p.util that return RateModifier and TypeMethodDescriptionprivate static RateSystemVersion.getStatRate(StatManager sm, String name, int duration) Returns one stat's rate for a period.