B
- the type of the builder.@DoNotImplement public interface MqttClientExecutorConfigBuilderBase<B extends MqttClientExecutorConfigBuilderBase<B>>
MqttClientExecutorConfig
.Modifier and Type | Method and Description |
---|---|
B |
applicationScheduler(@NotNull io.reactivex.Scheduler applicationScheduler)
|
B |
nettyExecutor(@Nullable java.util.concurrent.Executor nettyExecutor)
Sets the optional user defined
executor for Netty (network
communication framework). |
B |
nettyThreads(int nettyThreads)
Sets the optional user defined
amount of threads Netty
(network communication framework). |
@NotNull B nettyExecutor(@Nullable @Nullable java.util.concurrent.Executor nettyExecutor)
executor for Netty
(network
communication framework).nettyExecutor
- the user defined executor for Netty or null
to use the default executor.@NotNull B nettyThreads(int nettyThreads)
amount of threads Netty
(network communication framework).nettyThreads
- the user defined amount of threads Netty.@NotNull B applicationScheduler(@NotNull @NotNull io.reactivex.Scheduler applicationScheduler)
applicationScheduler
- the scheduler used for executing application specific code.