apache/dubbo

TimeCounterEvent optimization

Aberta

#13.097 aberto em 21 de set. de 2023

 (0 comentário) (0 reação) (0 responsável)Java (26.453 forks)batch import
component/sdkhelp wantedtype/proposal

Métricas do repositório

Stars
 (41.524 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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