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 TypeMethodDescriptionwithBlockingExecutor(ExecutorService blockingExecutor) 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
-
withBlockingExecutor
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.
-