Examples of ZKUriStoreFactory


Examples of com.linkedin.d2.balancer.servers.ZKUriStoreFactory

    _announcer.setWeight(1d);

    return new ZooKeeperConnectionManager(_zkHostname + ":" + _zkPort,
                                          _sessionTimeoutInMs,
                                          _basePath,
                                          new ZKUriStoreFactory(),
                                          _announcer);
  }
View Full Code Here

Examples of com.linkedin.d2.balancer.servers.ZKUriStoreFactory

  }

  private static ZooKeeperConnectionManager createZkManager(JSONObject json,
                                                       ZooKeeperAnnouncer[] zkAnnouncers)
  {
    ZKUriStoreFactory factory = new ZKUriStoreFactory();
    String zkConnectString = (String)json.get("zkConnectString");
    int zkRetryLimit = ((Long)json.get("zkRetryLimit")).intValue();
    int zkSessionTimeout = ((Long)json.get("zkSessionTimeout")).intValue();
    String zkBasePath = (String)json.get("zkBasePath");
    return new ZooKeeperConnectionManager(zkConnectString,
View Full Code Here

Examples of com.linkedin.d2.balancer.servers.ZKUriStoreFactory

  }

  private static ZooKeeperConnectionManager createZkManager(JSONObject json,
                                                       ZooKeeperAnnouncer[] zkAnnouncers)
  {
    ZKUriStoreFactory factory = new ZKUriStoreFactory();
    String zkConnectString = (String)json.get("zkConnectString");
    int zkRetryLimit = ((Long)json.get("zkRetryLimit")).intValue();
    int zkSessionTimeout = ((Long)json.get("zkSessionTimeout")).intValue();
    String zkBasePath = (String)json.get("zkBasePath");
    return new ZooKeeperConnectionManager(zkConnectString,
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.