Package io.grpc
Class LoadBalancer.Factory
- java.lang.Object
-
- io.grpc.LoadBalancer.Factory
-
- Direct Known Subclasses:
LoadBalancerProvider
- Enclosing class:
- LoadBalancer
@ThreadSafe @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1771") public abstract static class LoadBalancer.Factory extends Object
Factory to createLoadBalancer
instance.- Since:
- 1.2.0
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract LoadBalancer
newLoadBalancer(LoadBalancer.Helper helper)
Creates aLoadBalancer
that will be used inside a channel.
-
-
-
Method Detail
-
newLoadBalancer
public abstract LoadBalancer newLoadBalancer(LoadBalancer.Helper helper)
Creates aLoadBalancer
that will be used inside a channel.- Since:
- 1.2.0
-
-