apache/dubbo

TimeCounterEvent optimization

Open

#13.097 geöffnet am 21. Sept. 2023

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (26.453 Forks)batch import
component/sdkhelp wantedtype/proposal

Repository-Metriken

Stars
 (41.524 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 14h) (20 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide