Class HealthCheckingLoadBalancerFactory


  • final class HealthCheckingLoadBalancerFactory
    extends LoadBalancer.Factory
    Wraps a LoadBalancer and implements the client-side health-checking (https://github.com/grpc/proposal/blob/master/A17-client-side-health-checking.md). The Subchannel received by the states wrapped LoadBalancer will be determined by health-checking.

    Note the original LoadBalancer must call Helper.createSubchannel() from the SynchronizationContext, or it will throw.