apache/dubbo

TimeCounterEvent optimization

Open

#13 097 ouverte le 21 sept. 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Java (26 453 forks)batch import
component/sdkhelp wantedtype/proposal

Métriques du dépôt

Stars
 (41 524 stars)
Métriques de merge PR
 (Merge moyen 7j 14h) (20 PRs mergées en 30 j)

Description

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

Guide contributeur