| 构造器和说明 |
|---|
ThreadPoolManager(Thread.UncaughtExceptionHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutorService |
getCachedThreadPool(String name) |
ExecutorService |
getFixedThreadPool(String name,
int nThreads) |
ScheduledExecutorService |
getScheduledThreadPool(String name,
int nThreads) |
void |
shutdownAll() |
public ThreadPoolManager(Thread.UncaughtExceptionHandler handler)
public ExecutorService getCachedThreadPool(String name)
public ExecutorService getFixedThreadPool(String name, int nThreads)
public ScheduledExecutorService getScheduledThreadPool(String name, int nThreads)
public void shutdownAll()
Copyright © 2022. All rights reserved.