Uses of Class
io.grpc.LoadBalancer.SubchannelPicker
Packages that use LoadBalancer.SubchannelPicker
Package
Description
The gRPC core public API.
Utilities with advanced features in the core layer that user can optionally use.
-
Uses of LoadBalancer.SubchannelPicker in io.grpc
Subclasses of LoadBalancer.SubchannelPicker in io.grpcModifier and TypeClassDescriptionstatic final classDeprecated.static final classA picker that always returns the same result.Fields in io.grpc declared as LoadBalancer.SubchannelPickerModifier and TypeFieldDescriptionstatic final LoadBalancer.SubchannelPickerLoadBalancer.EMPTY_PICKERDeprecated.Usenew FixedResultPicker(PickResult.withNoResult())instead.Methods in io.grpc with parameters of type LoadBalancer.SubchannelPickerModifier and TypeMethodDescriptionabstract voidLoadBalancer.Helper.updateBalancingState(ConnectivityState newState, LoadBalancer.SubchannelPicker newPicker) Set a new state with a new picker to the channel. -
Uses of LoadBalancer.SubchannelPicker in io.grpc.util
Methods in io.grpc.util that return LoadBalancer.SubchannelPickerMethods in io.grpc.util with parameters of type LoadBalancer.SubchannelPickerModifier and TypeMethodDescriptionprotected final voidMultiChildLoadBalancer.ChildLbState.setCurrentPicker(LoadBalancer.SubchannelPicker newPicker) voidForwardingLoadBalancerHelper.updateBalancingState(ConnectivityState newState, LoadBalancer.SubchannelPicker newPicker) voidMultiChildLoadBalancer.ChildLbState.ChildLbStateHelper.updateBalancingState(ConnectivityState newState, LoadBalancer.SubchannelPicker newPicker) Update current state and picker for this child and then useMultiChildLoadBalancer.updateOverallBalancingState()for the parent LB.
new FixedResultPicker(PickResult.withError(error))instead.