Examples of ZooKeeperConnectionBuilder


Examples of com.linkedin.restli.example.impl.ZooKeeperConnectionBuilder

  /**
   * @return {@link ZooKeeperConnectionManager} with the server and cluster information set up
   */
  private static ZooKeeperConnectionManager createZkConn()
  {
    return new ZooKeeperConnectionBuilder()
        .setZooKeeperHostname(D2ConfigDiscovery.ZOOKEEPER_HOSTNAME)
        .setZooKeeperPort(D2ConfigDiscovery.ZOOKEEPER_PORT)
        .setBasePath(D2ConfigDiscovery.ZOOKEEPER_BASE_PATH)
        .setCluster("RestLiExampleCluster")
        .setUri(RestLiExampleBasicServer.getServerUrl())
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.