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

貢獻者指南