public class ExecutorFactory extends Object
Constructor and Description |
---|
ExecutorFactory() |
Modifier and Type | Method and Description |
---|---|
static ExecutorService |
newThreadPool(int minThreads,
int maxThreads,
long maxIdleTime,
TimeUnit unit) |
static ExecutorService |
newThreadPool(int minThreads,
int maxThreads,
long maxIdleTime,
TimeUnit unit,
ThreadFactory threadFactory) |
public static ExecutorService newThreadPool(int minThreads, int maxThreads, long maxIdleTime, TimeUnit unit)
public static ExecutorService newThreadPool(int minThreads, int maxThreads, long maxIdleTime, TimeUnit unit, ThreadFactory threadFactory)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.