public class ExecutorFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
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) |
protected static final StringManager sm
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-2018 Apache Software Foundation. All Rights Reserved.