refactor LoadBalancerImpl.