Package io.grpc.util
Class OutlierDetectionLoadBalancer.OutlierDetectionPicker
java.lang.Object
io.grpc.LoadBalancer.SubchannelPicker
io.grpc.util.OutlierDetectionLoadBalancer.OutlierDetectionPicker
- Enclosing class:
OutlierDetectionLoadBalancer
This picker delegates the actual picking logic to a wrapped delegate, but associates a
ClientStreamTracer
with each pick to track the results of each subchannel stream.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
Builds instances of aClientStreamTracer
that increments the call count in the tracker for each closed stream. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMake a balancing decision for a new RPC.Methods inherited from class io.grpc.LoadBalancer.SubchannelPicker
requestConnection
-
Field Details
-
delegate
-
-
Constructor Details
-
OutlierDetectionPicker
OutlierDetectionPicker(LoadBalancer.SubchannelPicker delegate)
-
-
Method Details
-
pickSubchannel
Description copied from class:LoadBalancer.SubchannelPicker
Make a balancing decision for a new RPC.- Specified by:
pickSubchannel
in classLoadBalancer.SubchannelPicker
- Parameters:
args
- the pick arguments
-