apache/dubbo

TimeCounterEvent optimization

Open

#13,097 opened on 2023年9月21日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Java (26,453 forks)batch import
component/sdkhelp wantedtype/proposal

Repository metrics

Stars
 (41,524 stars)
PR merge metrics
 (平均マージ 7d 14h) (30d で 20 merged PRs)

説明

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

コントリビューターガイド