Package io.druid.client.selector

Examples of io.druid.client.selector.Server


    return retVal;
  }

  private String getRuleURL()
  {
    Server server = selector.pick();

    if (server == null) {
      log.error("No instances found for [%s]!", config.get().getCoordinatorServiceName());
      return null;
    }

    return String.format("http://%s%s", server.getHost(), config.get().getRulesEndpoint());
  }
View Full Code Here

TOP

Related Classes of io.druid.client.selector.Server

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.