T- The type of value associated with the option.
public final class SdkAdvancedAsyncClientOption<T> extends ClientOption<T>
These options are usually not required outside of testing or advanced libraries, so most users should not need to configure them.
|Modifier and Type||Field and Description|
Configure the executor that should be used to complete the
public static final SdkAdvancedAsyncClientOption<Executor> FUTURE_COMPLETION_EXECUTOR
CompletableFuturethat is returned by the service clients. By default, this is an the
ExecutorServicemanaged by the SDK.
Executor.execute(Runnable)is invoked by the async HTTP client's thread, so
Runnable::runwill complete the future on a non-blocking async thread.