mirror of https://github.com/grpc/grpc-java.git
- Add NameResolver and LoadBalancer interfaces. - ManagedChannelImpl now uses NameResolver and LoadBalancer for transport selection, which may return transports to multiple addresses. - Transports are still owned by ManagedChannelImpl, which implements TransportManager interface that is provided to LoadBalancer, so that LoadBalancer doesn't worry about Transport lifecycles. - Channel builders can be created by forTarget() that accepts the fully qualified target name, which is an URI. (TODO) it's not tested. - The old address-based construction pattern is supported by using AbstractManagedChannelImplBuilder.DirectAddressNameResolver. - (TODO) DnsNameResolver and SimpleLoadBalancer are currently incomplete. They merely work for the single-address scenario. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||