Interface AsyncHttpClientConfig.SdkEventLoopGroupConfig

Enclosing interface:
AsyncHttpClientConfig

public static interface AsyncHttpClientConfig.SdkEventLoopGroupConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Number of threads to use for the event loop group.
    boolean
    Enable the custom configuration of the Netty event loop group.
    The thread name prefix for threads created by this thread factory used by event loop group.
  • Method Details

    • override

      @WithDefault("false") boolean override()
      Enable the custom configuration of the Netty event loop group.
    • numberOfThreads

      OptionalInt numberOfThreads()
      Number of threads to use for the event loop group.

      If not set, the default Netty thread count is used (which is double the number of available processors unless the `io.netty.eventLoopThreads` system property is set.

    • threadNamePrefix

      Optional<String> threadNamePrefix()
      The thread name prefix for threads created by this thread factory used by event loop group.

      The prefix will be appended with a number unique to the thread factory and a number unique to the thread.

      If not specified it defaults to `aws-java-sdk-NettyEventLoop`