apache/dubbo

TimeCounterEvent optimization

Open

#13,097 创建于 2023年9月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Java (26,453 fork)batch import
component/sdkhelp wantedtype/proposal

仓库指标

Star
 (41,524 star)
PR 合并指标
 (平均合并 7天 14小时) (30 天内合并 20 个 PR)

描述

TimeCounterEvent in the Metrics module is now an abstract class, and events inherit from it to have the ability to calculate rt. Inheritance mechanism brings inflexibility and sometimes we have to inherit it in event generics. We can use composition pattern instead of inheritance

贡献者指南