public class DefaultExecutorFactory extends Object implements ObjectFactory<ExecutorService>
Nov 23, 2020
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DefaultExecutorFactory.Builder |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultExecutorFactory.Builder |
builder() |
ExecutorService |
create() |
static DefaultExecutorFactory |
createCachedThreadPoolFactory(String threadNamePrefix,
int corePoolSize,
int corePoolTimeAlive,
TimeUnit corePoolTimeAliveUnit) |
public static DefaultExecutorFactory createCachedThreadPoolFactory(String threadNamePrefix, int corePoolSize, int corePoolTimeAlive, TimeUnit corePoolTimeAliveUnit)
public static DefaultExecutorFactory.Builder builder()
public ExecutorService create()
create 在接口中 ObjectFactory<ExecutorService>Copyright © 2023 The Ant Financial. All rights reserved.