Hi All, I'd like to add some more metrics to the broker entry cache. In order to do so, I needed to update RangeCache#clear and RangeCache#evictLEntriesBeforeTimestamp so they return Pair<Integer, Long> instead of long. This is technically a breaking change, but since it is an internal broker class, it would only break broker extensions, if they used the return value for these methods.
Please let me know if you think the changes will be a problem. Here is the PR: https://github.com/apache/pulsar/pull/17248. Thanks, Michael