Class ThreadPoolSupplier

    • Method Detail

      • builder

        public static ThreadPoolSupplier.Builder builder()
        Create a new fluent API builder to build thread pool supplier.
        Returns:
        a builder instance
      • create

        public static ThreadPoolSupplier create​(Config config)
        Load supplier from configuration.
        Parameters:
        config - config instance
        Returns:
        a new thread pool supplier configured from config
      • create

        public static ThreadPoolSupplier create()
        Create a new thread pool supplier with default configuration.
        Returns:
        a new thread pool supplier with default configuration