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