Package io.grpc
Class LoadBalancer.ErrorPicker
- java.lang.Object
-
- io.grpc.LoadBalancer.SubchannelPicker
-
- io.grpc.LoadBalancer.ErrorPicker
-
- Enclosing class:
- LoadBalancer
@Deprecated public static final class LoadBalancer.ErrorPicker extends LoadBalancer.SubchannelPicker
Deprecated.Usenew FixedResultPicker(PickResult.withError(error))
instead.A picker that always returns an erring pick.
-
-
Constructor Summary
Constructors Constructor Description ErrorPicker(Status error)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LoadBalancer.PickResult
pickSubchannel(LoadBalancer.PickSubchannelArgs args)
Deprecated.Make a balancing decision for a new RPC.String
toString()
Deprecated.-
Methods inherited from class io.grpc.LoadBalancer.SubchannelPicker
requestConnection
-
-
-
-
Constructor Detail
-
ErrorPicker
public ErrorPicker(Status error)
Deprecated.
-
-
Method Detail
-
pickSubchannel
public LoadBalancer.PickResult pickSubchannel(LoadBalancer.PickSubchannelArgs args)
Deprecated.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
-
-