@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1782")
public class GrpclbLoadBalancerFactory2
extends io.grpc.LoadBalancer2.Factory
LoadBalancer2s that uses the GRPCLB protocol.
TECHNICAL PREVIEW: The name of this class is temporary. It will be renamed to
GrpclbLoadBalancerFactory during
transition to LBv2. You should use it only if you want to experiment the LBv2 code path.
Experimental:This only works with the GRPCLB load-balancer service, which is not available yet. Right now it's only good for internal testing.
| Modifier and Type | Method and Description |
|---|---|
static GrpclbLoadBalancerFactory2 |
getInstance() |
io.grpc.LoadBalancer2 |
newLoadBalancer(io.grpc.LoadBalancer2.Helper helper) |
public static GrpclbLoadBalancerFactory2 getInstance()
public io.grpc.LoadBalancer2 newLoadBalancer(io.grpc.LoadBalancer2.Helper helper)
newLoadBalancer in class io.grpc.LoadBalancer2.Factory