Interface MqttClientExecutorConfigBuilderBase<B extends MqttClientExecutorConfigBuilderBase<B>>

Type Parameters:
B - the type of the builder.
All Known Subinterfaces:
MqttClientExecutorConfigBuilder, MqttClientExecutorConfigBuilder.Nested<P>

@DoNotImplement public interface MqttClientExecutorConfigBuilderBase<B extends MqttClientExecutorConfigBuilderBase<B>>
Builder base for a MqttClientExecutorConfig.
Since:
1.0
  • Method Details

    • nettyExecutor

      @CheckReturnValue @NotNull B nettyExecutor(@Nullable @Nullable Executor nettyExecutor)
      Sets the optional user defined executor for Netty (network communication framework).
      Parameters:
      nettyExecutor - the user defined executor for Netty or null to use the default executor.
      Returns:
      the builder.
    • nettyThreads

      @CheckReturnValue @NotNull B nettyThreads(int nettyThreads)
      Sets the optional user defined amount of threads Netty (network communication framework).
      Parameters:
      nettyThreads - the user defined amount of threads Netty.
      Returns:
      the builder.
    • applicationScheduler

      @CheckReturnValue @NotNull B applicationScheduler(@NotNull @NotNull Scheduler applicationScheduler)
      Parameters:
      applicationScheduler - the scheduler used for executing application specific code.
      Returns:
      the builder.