public class ThreadPoolFactory extends Object
| 构造器和说明 |
|---|
ThreadPoolFactory(ThreadCustomization threadCustomization,
ThreadParameter threadParameter) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ThreadPoolExecutor |
createThreadPoolExecutor(String threadPoolName,
ThreadParameter threadParameter) |
static ThreadPoolExecutor |
createThreadPoolExecutor(ThreadParameter threadParameter) |
ThreadPoolExecutor |
getThreadPoolExecutor(String threadPoolName) |
void |
shutdown() |
public ThreadPoolFactory(ThreadCustomization threadCustomization, ThreadParameter threadParameter)
public ThreadPoolExecutor getThreadPoolExecutor(String threadPoolName)
public static ThreadPoolExecutor createThreadPoolExecutor(String threadPoolName, ThreadParameter threadParameter)
public static ThreadPoolExecutor createThreadPoolExecutor(ThreadParameter threadParameter)
public void shutdown()
Copyright © 2021 Nepxion. All rights reserved.