apache/dubbo

TimeCounterEvent optimization

Open

#13.097 aperta il 21 set 2023

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (26.453 fork)batch import
component/sdkhelp wantedtype/proposal

Metriche repository

Star
 (41.524 star)
Metriche merge PR
 (Merge medio 7g 14h) (20 PR mergiate in 30 g)

Descrizione

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

Guida contributor