grpc-java/api
Terry Wilson 70a29fbfe3
Add LoadBalancer.acceptResolvedAddresses() (#8742)
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.
2022-07-26 09:23:37 -07:00
..
src Add LoadBalancer.acceptResolvedAddresses() (#8742) 2022-07-26 09:23:37 -07:00
BUILD.bazel Use @DoNotCall for static methods in Builders that throw 2021-05-12 10:12:52 -07:00
build.gradle Use Gradle's task configuration avoidance APIs 2022-07-08 12:16:40 -07:00