apache/dubbo

TimeCounterEvent optimization

Offen

#13.097 geöffnet am 21.09.2023

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

Repository-Metriken

Stars
 (41.524 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

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