Tabnine Logo
RoundRobinUrlInterceptor
Code IndexAdd Tabnine to your IDE (free)

How to use
RoundRobinUrlInterceptor
in
com.palantir.conjure.java.okhttp

Best Java code snippets using com.palantir.conjure.java.okhttp.RoundRobinUrlInterceptor (Showing top 4 results out of 315)

origin: com.palantir.conjure.java.runtime/okhttp-clients

static RoundRobinUrlInterceptor create(UrlSelector urls) {
  return new RoundRobinUrlInterceptor(urls);
}
origin: com.palantir.conjure.java.runtime/okhttp-clients

switch (config.nodeSelectionStrategy()) {
  case ROUND_ROBIN:
    client.addInterceptor(RoundRobinUrlInterceptor.create(urlSelector));
    break;
  case PIN_UNTIL_ERROR:
origin: palantir/conjure-java-runtime

switch (config.nodeSelectionStrategy()) {
  case ROUND_ROBIN:
    client.addInterceptor(RoundRobinUrlInterceptor.create(urlSelector));
    break;
  case PIN_UNTIL_ERROR:
origin: palantir/conjure-java-runtime

static RoundRobinUrlInterceptor create(UrlSelector urls) {
  return new RoundRobinUrlInterceptor(urls);
}
com.palantir.conjure.java.okhttpRoundRobinUrlInterceptor

Javadoc

An Interceptor implementation that rebases the request's URL in a round robin fashion. The rebased URL will be the next URL after the last recorded URL used when multiple URLs are supplied via the UrlSelector.

Most used methods

  • <init>
  • create

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Menu (java.awt)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Best IntelliJ plugins
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