Package com.github.twitch4j.common.util
Class ThreadUtils
java.lang.Object
com.github.twitch4j.common.util.ThreadUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduledThreadPoolExecutor
getDefaultScheduledThreadPoolExecutor
(String namePrefix, Integer poolSize) The default thread pool executor used in twitch4j
-
Constructor Details
-
ThreadUtils
public ThreadUtils()
-
-
Method Details
-
getDefaultScheduledThreadPoolExecutor
public static ScheduledThreadPoolExecutor getDefaultScheduledThreadPoolExecutor(String namePrefix, Integer poolSize) The default thread pool executor used in twitch4jPubSub: 2 Thread(s) Chat: 1 Thread(s) ClientHelper: 2 Thread(s)
- Returns:
- ScheduledThreadPoolExecutor
-