mirror of https://github.com/grpc/grpc-java.git
Introduces a new acceptResolvedAddresses() to the LoadBalancer. This will now be the preferred way to handle addresses from the NameResolver. The existing handleResolvedAddresses() will eventually be deprecated. The new method returns a boolean based on the LoadBalancers ability to use the provided addresses. If it does not accept them, false is returned. LoadBalancer implementations using the new method should no longer implement the canHandleEmptyAddressListFromNameResolution(), which will eventually be removed, along with handleResolvedAddresses(). Backward compatibility will be maintained so existing load balancers using handleResolvedAddresses() will continue to work. Additionally the previously deprecated handleResolvedAddressGroups() method is removed. |
||
|---|---|---|
| .. | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||