Interface ThreadPoolConfig<T extends ThreadPoolConfig<T>>
- All Known Subinterfaces:
EventLoopGroupConfig
public interface ThreadPoolConfig<T extends ThreadPoolConfig<T>>
Configuration interface for thread pool settings.
-
Method Summary
-
Method Details
-
name
-
numberOfThreads
Sets the number of threads in the thread pool.- Parameters:
numberOfThreads- the number of threads to use- Returns:
- this config instance for method chaining
-
daemon
Sets whether the threads should be daemon threads.- Parameters:
daemon- true if the threads should be daemon threads, false otherwise- Returns:
- this config instance for method chaining
-