Package com.linkedin.restli.example.impl

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

Related Classes of com.linkedin.restli.example.impl.ZooKeeperConnectionBuilder

Copyright © 2018 www.massapicom. 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.