Package io.grpc
Interface LoadBalancer.PickDetailsConsumer
- Enclosing class:
LoadBalancer
Receives information about the pick being chosen.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addOptionalLabel
(String key, String value) Optional labels that provide context of how the pick was routed.
-
Method Details
-
addOptionalLabel
Optional labels that provide context of how the pick was routed. Particularly helpful for per-RPC metrics.- Throws:
NullPointerException
- if key or value isnull
-