grpc / grpc/grpc-java

Proposal: Remove mutable / immutable handler registry distinction

Aperta
#4,600 2 commenti 0 reazioni 1 assegnatario Rivendicata da @ejona86 Vedi su GitHub
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

I'd like to float the idea of removing the mutable / immutable service registry distinction on `io.grpc.Server`, as I feel it is an unnecessary distinction. As far as I can tell, the sole purpose was a performance concern, but this shouldn't have bearing on the API surface. The methods to get it are Experimental, and only seem to be used for reflection. I believe reflection can still be efficient without knowing the difference.

This is not the same as the "fallback" registry, which is stable API, and IMO is a better distinction than mutable / immutable.

Thoughts @ejona86 ?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.