mirror of https://github.com/grpc/grpc-java.git
Previously PickResult's Subchannel must be the actual implementation returned from the Channel's Helper, and Channel would cast it to the implementation class in order to use it. This will be broken if Subchannel is wrapped in the case of hierarchical LoadBalancers. getInternalSubchannel() is the guaranteed path for the Channel to get the InternalSubchannel implementation. It is friendly for wrapping. Background: #5676 |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||