Class ThreadUtils
java.lang.Object
org.apache.flink.table.gateway.api.utils.ThreadUtils
Utils for thread pool executor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadPoolExecutornewThreadPool(int poolSize, int poolQueueSize, long keepAliveMs, String threadPoolName)
-
Constructor Details
-
ThreadUtils
public ThreadUtils()
-
-
Method Details
-
newThreadPool
public static ThreadPoolExecutor newThreadPool(int poolSize, int poolQueueSize, long keepAliveMs, String threadPoolName)
-