congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CoordinateClient
Code IndexAdd Tabnine to your IDE (free)

How to use
CoordinateClient
in
com.orbitz.consul

Best Java code snippets using com.orbitz.consul.CoordinateClient (Showing top 5 results out of 315)

origin: rickfast/consul-client

public List<Coordinate> getNodes() {
  return getNodes(null);
}
origin: rickfast/consul-client

public List<Coordinate> getNodes(String dc) {
  return http.extract(api.getNodes(dcQuery(dc)));
}
origin: org.apache.camel/camel-consul

@InvokeOnHeader(ConsulCoordinatesActions.DATACENTERS)
protected void datacenters(Message message) throws Exception {
  setBodyAndResult(
    message,
    getClient().getDatacenters()
  );
}
origin: rickfast/consul-client

EventClient eventClient = new EventClient(retrofit, config, eventCallback);
PreparedQueryClient preparedQueryClient = new PreparedQueryClient(retrofit, config, eventCallback);
CoordinateClient coordinateClient = new CoordinateClient(retrofit, config, eventCallback);
OperatorClient operatorClient = new OperatorClient(retrofit, config, eventCallback);
AclClient aclClient = new AclClient(retrofit, config, eventCallback);
origin: org.apache.camel/camel-consul

  @InvokeOnHeader(ConsulCoordinatesActions.NODES)
  protected void nodes(Message message) throws Exception {
    setBodyAndResult(
      message,
      getClient().getNodes(
        message.getHeader(ConsulConstants.CONSUL_DATACENTER, getConfiguration().getDatacenter(), String.class)
      )
    );
  }
}
com.orbitz.consulCoordinateClient

Javadoc

HTTP Client for /v1/coordinate/ endpoints.

Most used methods

  • getNodes
  • <init>
    Constructs an instance of this class.
  • dcQuery
  • getDatacenters

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now