apache/dubbo

TimeCounterEvent optimization

开放

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

 (0 条评论) (0 个反应) (0 位负责人)Java (26,453 个派生)batch import
component/sdkhelp wantedtype/proposal

仓库指标

星标
 (41,524 个星标)
PR 合并指标
 (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

贡献者指南