Re: [DISCUSS] Minor breaking change to 2 method signatures in RangeCache class

2022-08-24 Thread Qiang Huang
Great work! It can tune the range cache better. Michael Marshall 于2022年8月24日周三 11:11写道: > 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 Long> inst

[DISCUSS] Minor breaking change to 2 method signatures in RangeCache class

2022-08-23 Thread Michael Marshall
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 instead of long. This is technically a breaking change, but since it is an internal broker class, it would onl