Examples of ZKFSComponentFactory


Examples of com.linkedin.d2.balancer.zkfs.ZKFSComponentFactory

  private ZKFSLoadBalancer.TogglingLoadBalancerFactory createLoadBalancerFactory(D2ClientConfig config)
  {
    final ZKFSTogglingLoadBalancerFactoryImpl.ComponentFactory loadBalancerComponentFactory;
    if (config.componentFactory == null)
    {
      loadBalancerComponentFactory = new ZKFSComponentFactory();
    }
    else
    {
      loadBalancerComponentFactory = config.componentFactory;
    }
View Full Code Here

Examples of com.linkedin.d2.balancer.zkfs.ZKFSComponentFactory

  public ZKFSLoadBalancer getZKFSLoadBalancer(String zkConnectString, String d2path, String d2ServicePath) throws Exception
  {
    _tmpDir = createTempDirectory(_tmpdirName);

  ZKFSComponentFactory componentFactory = new ZKFSComponentFactory();
  if(d2ServicePath == null || d2ServicePath.isEmpty())
    {
      d2ServicePath = "services";
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.