Package com.slack.api.util.thread
Class ExecutorServiceFactory
java.lang.Object
com.slack.api.util.thread.ExecutorServiceFactory
public class ExecutorServiceFactory
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description static java.util.concurrent.ExecutorServicecreateDaemonThreadPoolExecutor(java.lang.String threadGroupName, int poolSize)static java.util.concurrent.ScheduledExecutorServicecreateDaemonThreadScheduledExecutor(java.lang.String threadGroupName)
-
Method Details
-
createDaemonThreadPoolExecutor
public static java.util.concurrent.ExecutorService createDaemonThreadPoolExecutor(java.lang.String threadGroupName, int poolSize) -
createDaemonThreadScheduledExecutor
public static java.util.concurrent.ScheduledExecutorService createDaemonThreadScheduledExecutor(java.lang.String threadGroupName)
-