public final class DefaultFixedThreadsExecutorGroupFactory extends Object implements FixedThreadsExecutorGroupFactory
| Modifier and Type | Field and Description |
|---|---|
static DefaultFixedThreadsExecutorGroupFactory |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
FixedThreadsExecutorGroup |
newExecutorGroup(ExecutorService[] children) |
FixedThreadsExecutorGroup |
newExecutorGroup(ExecutorService[] children,
ExecutorChooserFactory.ExecutorChooser chooser) |
FixedThreadsExecutorGroup |
newExecutorGroup(int nThreads,
String poolName,
int maxPendingTasksPerThread) |
FixedThreadsExecutorGroup |
newExecutorGroup(int nThreads,
String poolName,
int maxPendingTasksPerThread,
boolean useMpscQueue) |
FixedThreadsExecutorGroup |
newExecutorGroup(SingleThreadExecutor[] children) |
FixedThreadsExecutorGroup |
newExecutorGroup(SingleThreadExecutor[] children,
ExecutorChooserFactory.ExecutorChooser chooser) |
public static final DefaultFixedThreadsExecutorGroupFactory INSTANCE
public FixedThreadsExecutorGroup newExecutorGroup(int nThreads, String poolName, int maxPendingTasksPerThread)
newExecutorGroup in interface FixedThreadsExecutorGroupFactorypublic FixedThreadsExecutorGroup newExecutorGroup(int nThreads, String poolName, int maxPendingTasksPerThread, boolean useMpscQueue)
newExecutorGroup in interface FixedThreadsExecutorGroupFactorypublic FixedThreadsExecutorGroup newExecutorGroup(SingleThreadExecutor[] children)
newExecutorGroup in interface FixedThreadsExecutorGroupFactorypublic FixedThreadsExecutorGroup newExecutorGroup(SingleThreadExecutor[] children, ExecutorChooserFactory.ExecutorChooser chooser)
newExecutorGroup in interface FixedThreadsExecutorGroupFactorypublic FixedThreadsExecutorGroup newExecutorGroup(ExecutorService[] children)
newExecutorGroup in interface FixedThreadsExecutorGroupFactorypublic FixedThreadsExecutorGroup newExecutorGroup(ExecutorService[] children, ExecutorChooserFactory.ExecutorChooser chooser)
newExecutorGroup in interface FixedThreadsExecutorGroupFactoryCopyright © 2024. All rights reserved.