Class ThreadPoolFactory
java.lang.Object
com.linkedin.venice.utils.concurrent.ThreadPoolFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadPoolExecutorcreateThreadPool(int threadCount, String threadNamePrefix, int capacity, BlockingQueueType blockingQueueType) static ThreadPoolExecutorcreateThreadPool(int threadCount, String threadNamePrefix, LogContext logContext, int capacity, BlockingQueueType blockingQueueType) static ThreadPoolExecutorcreateThreadPool(int threadCount, String threadNamePrefix, LogContext logContext, int capacity, BlockingQueueType blockingQueueType, int priority)
-
Method Details
-
createThreadPool
public static ThreadPoolExecutor createThreadPool(int threadCount, String threadNamePrefix, int capacity, BlockingQueueType blockingQueueType) -
createThreadPool
public static ThreadPoolExecutor createThreadPool(int threadCount, String threadNamePrefix, @Nullable LogContext logContext, int capacity, BlockingQueueType blockingQueueType) -
createThreadPool
public static ThreadPoolExecutor createThreadPool(int threadCount, String threadNamePrefix, @Nullable LogContext logContext, int capacity, BlockingQueueType blockingQueueType, int priority)
-