Package ubic.gemma.core.util.concurrent
Class Executors
- java.lang.Object
-
- ubic.gemma.core.util.concurrent.Executors
-
-
Constructor Summary
Constructors Constructor Description Executors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutorService
newCachedThreadPool()
static ExecutorService
newFixedThreadPool(int numThreads)
static ExecutorService
newFixedThreadPool(int numThreads, ThreadFactory threadFactory)
static ExecutorService
newSingleThreadExecutor()
static ExecutorService
newSingleThreadExecutor(ThreadFactory threadFactory)
static ScheduledExecutorService
newSingleThreadScheduledExecutor()
-
-
-
Method Detail
-
newSingleThreadExecutor
public static ExecutorService newSingleThreadExecutor()
-
newSingleThreadExecutor
public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory)
-
newFixedThreadPool
public static ExecutorService newFixedThreadPool(int numThreads)
-
newFixedThreadPool
public static ExecutorService newFixedThreadPool(int numThreads, ThreadFactory threadFactory)
-
newCachedThreadPool
public static ExecutorService newCachedThreadPool()
-
newSingleThreadScheduledExecutor
public static ScheduledExecutorService newSingleThreadScheduledExecutor()
-
-