Interface DialogueClients.WithDialogueOptions<T>

All Known Subinterfaces:
DialogueClients.ReloadingFactory
Enclosing class:
DialogueClients

@CheckReturnValue public static interface DialogueClients.WithDialogueOptions<T>
Parameters necessary for DialogueChannel.builder() and constructing an actual BlockingFoo instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    The Apache http client uses blocking socket operations, so threads from this executor will be used to wait for responses.
    withRuntime(com.palantir.dialogue.ConjureRuntime runtime)
     
  • Method Details

    • withRuntime

      T withRuntime(com.palantir.dialogue.ConjureRuntime runtime)
    • withBlockingExecutor

      T withBlockingExecutor(ExecutorService blockingExecutor)
      The Apache http client uses blocking socket operations, so threads from this executor will be used to wait for responses. It's strongly recommended that custom executors support tracing-java. Cached executors are the best fit because we use concurrency limiters to bound concurrent requests.