[FLINK-12983][metrics] replace descriptive histogram's storage back-end
Instead of using `DescriptiveStatistics` and its `ResizableDoubleArray` storage back-end, implement an own circular array based on a fixed-size double array that wraps around. This significantly improves the time needed to add new values. It also ensures that access is synchronized which `ResizableDoubleArray` does not guarantee.
Showing
想要评论请 注册 或 登录