@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1771") @Deprecated public final class PickFirstBalancerFactory extends LoadBalancer.Factory
LoadBalancer
that provides no load balancing mechanism over the
addresses from the NameResolver
. The channel's default behavior
(currently pick-first) is used for all addresses found.Modifier and Type | Method and Description |
---|---|
static PickFirstBalancerFactory |
getInstance()
Deprecated.
Gets an instance of this factory.
|
LoadBalancer |
newLoadBalancer(LoadBalancer.Helper helper)
Deprecated.
Creates a
LoadBalancer that will be used inside a channel. |
public static PickFirstBalancerFactory getInstance()
public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper)
LoadBalancer.Factory
LoadBalancer
that will be used inside a channel.newLoadBalancer
in class LoadBalancer.Factory
Copyright © 2019. All rights reserved.