apache/dubbo

TimeCounterEvent optimization

Open

#13.097 aberto em 21 de set. de 2023

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Java (26.453 forks)batch import
component/sdkhelp wantedtype/proposal

Métricas do repositório

Stars
 (41.524 stars)
Métricas de merge de PR
 (Mesclagem média 7d 14h) (20 fundiu PRs em 30d)

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

Guia do colaborador