apache/dubbo

TimeCounterEvent optimization

オープン

#13,097 opened on 2023/09/21

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Java (26,453 件のフォーク)batch import
component/sdkhelp wantedtype/proposal

Repository metrics

Stars
 (41,524 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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