build

Build a new ThreadPoolTaskExecutor instance and configure it using this builder.

Return

a configured ThreadPoolTaskExecutor instance.

See also


open fun <T : ThreadPoolTaskExecutor?> build(taskExecutorClass: Class<T>): T

Build a new ThreadPoolTaskExecutor instance of the specified type and configure it using this builder.

Return

a configured ThreadPoolTaskExecutor instance.

Parameters

<T>

the type of task executor

taskExecutorClass

the template type to create

See also