Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
https://github.com/apache/camel/blob/5a40fa03ad1aa951457a04227ac00a7f6450676c/components/camel-caffeine/src/test/java/org/apache/camel/component/caffeine/cache/MetricsStatsCounter.java This code is seemingly copied from the Caffeine's exemplary code, which used to use Meter class from Dropwizard Metrics. Recently it was concluded that Counter is more appropriate: https://github.com/ben-manes/caffeine/issues/235
I'm not sure Counter is better than Meter in Camel as well, but at least it should be considered.