Interface BootConfiguration


public interface BootConfiguration

Boot module configuration.

Since:
1.0
Author:
Jeremy Kuhn
  • Method Details

    • net_client

      Net client global configuration.

      Returns:
      the Net client global configuration
    • net_server

      Net server global configuration.

      Returns:
      the Net server global configuration
    • prefer_native_transport

      default boolean prefer_native_transport()

      Enables/Disables native transport when available.

      Note that this settings impact both Reactor and NetService implementations.

      Defaults to true.

      Returns:
      true if the option is enabled, false otherwise
    • reactor_prefer_vertx

      default boolean reactor_prefer_vertx()

      Enables/Disables Vert.x reactor when available.

      If sets to true and Vert.x core is on the module path, the reactor is backed by a Vertx instance.

      Defaults to false.

      Returns:
      true if the option is enabled, false otherwise
    • reactor_event_loop_group_size

      default int reactor_event_loop_group_size()

      The number of threads to allocate to the reactor event loop group.

      Defaults to twice the number of processors available to the JVM.

      Returns:
      the number of threads to allocate