Package com.github.twitch4j.common.util
Class ThreadUtils
java.lang.Object
com.github.twitch4j.common.util.ThreadUtils
public class ThreadUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ThreadUtils() -
Method Summary
Modifier and Type Method Description static java.util.concurrent.ScheduledThreadPoolExecutorgetDefaultScheduledThreadPoolExecutor(java.lang.String namePrefix, java.lang.Integer poolSize)The default thread pool executor used in twitch4jMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ThreadUtils
public ThreadUtils()
-
-
Method Details
-
getDefaultScheduledThreadPoolExecutor
public static java.util.concurrent.ScheduledThreadPoolExecutor getDefaultScheduledThreadPoolExecutor(java.lang.String namePrefix, java.lang.Integer poolSize)The default thread pool executor used in twitch4jPubSub: 2 Thread(s) Chat: 1 Thread(s) ClientHelper: 2 Thread(s)
- Returns:
- ScheduledThreadPoolExecutor
-