Packages that use StatManager
Package
Description
Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services, centered on I2PAppContext.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Tunnel messages and the tunnel layer: the
TunnelManagerFacade, tunnel build request and reply processing, and the inbound and outbound tunnel structures. Tunnel pool management: pool lifecycle, peer selection, build scheduling and failure handling for client and exploratory tunnels.
General utility classes shared across the core libraries and the router.
Uses of StatManager in net.i2p
Fields in net.i2p declared as StatManagerModifier and TypeFieldDescriptionprivate StatManagerI2PAppContext._statManagerThe context's stat manager, created on demand.Methods in net.i2p that return StatManagerModifier and TypeMethodDescriptionI2PAppContext.statManager()The statistics component with which we can track various events over time.Uses of StatManager in net.i2p.client.streaming.impl
Methods in net.i2p.client.streaming.impl with parameters of type StatManagerModifier and TypeMethodDescription(package private) static voidConnectionPacketHandler.registerLiveStreamStats(StatManager sm) Register the live stream RTT and send-window stats.(package private) static voidConnectionManager.registerRtxRatioStats(StatManager sm) Register the stream-close retransmission ratio stats, including the five-minute period the router's congestion tuner samples.Uses of StatManager in net.i2p.router.tunnel
Methods in net.i2p.router.tunnel with parameters of type StatManagerModifier and TypeMethodDescription(package private) static voidTunnelDispatcher.registerFragmentStats(StatManager sm) Declare the rate stats emitted byFragmentHandleron the endpoint side.Uses of StatManager in net.i2p.router.tunnel.pool
Methods in net.i2p.router.tunnel.pool with parameters of type StatManagerModifier and TypeMethodDescription(package private) static voidBuildHandler.createRejectStats(StatManager mgr, long[] periods) Register the per-reason counters for build rejections we send back.(package private) static voidTestJob.recordDirectionStat(StatManager stats, boolean inbound, boolean success) Record one per-direction test outcome event.(package private) static voidTestJob.registerBatchStats(StatManager stats, long[] periods) Register the batch-dispatch rate stats this class writes, soaddRateData()records real rates instead of reporting invalid names.(package private) static voidTestJob.registerDirectionStats(StatManager stats, long[] periods) Register the per-direction test outcome stats written byTestJob.testSuccessful(int)and by the test-failure handler.Uses of StatManager in net.i2p.util
Fields in net.i2p.util declared as StatManagerModifier and TypeFieldDescriptionprivate static StatManagerSystemVersion._cpuLoadStatCtxContext thatSystemVersion._cpuLoadStatwas resolved against.Methods in net.i2p.util with parameters of type StatManagerModifier and TypeMethodDescriptionprivate static RateSystemVersion.getStatRate(StatManager sm, String name, int duration) Returns one stat's rate for a period.static doubleSystemVersion.getTunnelBuildSuccessRatio(StatManager sm, int windowMs) The canonical tunnel build success ratio: successes over all settled builds, 0.0 to 1.0, for a stated window.