You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@carl-mastrangelo, what precisely are you referring to? Are you suggesting removing Server.getMutableServices() and Server.getImmutableServices() and replacing them with a method that returns both in a single list?
Activity
ejona86 commentedon Jun 29, 2018
@carl-mastrangelo, what precisely are you referring to? Are you suggesting removing
Server.getMutableServices()andServer.getImmutableServices()and replacing them with a method that returns both in a single list?carl-mastrangelo commentedon Jun 29, 2018
The methods to remove are the ones on
Server, the replacement is already on the class:Server.getServices()