Package io.grpc
Class LoadBalancer.ResolvedAddresses
java.lang.Object
io.grpc.LoadBalancer.ResolvedAddresses
- Enclosing class:
LoadBalancer
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/11657")
public static final class LoadBalancer.ResolvedAddresses
extends Object
Represents a combination of the resolved server address, associated attributes and a load
balancing policy config. The config is from the
LoadBalancerProvider.parseLoadBalancingPolicyConfig(Map)
.- Since:
- 1.21.0
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
newBuilder
Factory for constructing a new Builder.- Since:
- 1.21.0
-
toBuilder
Converts this back to a builder.- Since:
- 1.21.0
-
getAddresses
Gets the server addresses.- Since:
- 1.21.0
-
getAttributes
Gets the attributes associated with these addresses. If this was not previously set,Attributes.EMPTY
will be returned.- Since:
- 1.21.0
-
getLoadBalancingPolicyConfig
Gets the domain specific load balancing policy. This is the config produced byLoadBalancerProvider.parseLoadBalancingPolicyConfig(Map)
.- Since:
- 1.21.0
-
toString
-
hashCode
public int hashCode() -
equals
-