Clears the latency filter of all data collected.
Discards data collected for a node.
Returns the current median latency for a node. If no data has been recorded for the node, returns NaN.
Pushes a new latency datum into the filter window for a node, and returns the current median value from the filter.
A latency filter tracks a stream of latency measurements involving a remote node, and returns an expected latency value using a moving median filter.
Filter buffers for each node are allocated on the GC heap, but operate in constant space thereafter.
See "Network Coordinates in the Wild" by Jonathan Ledlie, Paul Gardner, and Margo Seltzer, Section 7.2.