public class DaemonThreadPoolFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ExecutorService |
cachedThreadPool(int poolSize,
String prefix) |
static ExecutorService |
fixedThreadPool(int poolSize,
String prefix) |
static DaemonThreadPoolFactory |
getInstance() |
void |
shutdown() |
static ExecutorService |
singleThreadExecutor(String prefix) |
public static DaemonThreadPoolFactory getInstance()
public static ExecutorService fixedThreadPool(int poolSize, String prefix)
public static ExecutorService singleThreadExecutor(String prefix)
public static ExecutorService cachedThreadPool(int poolSize, String prefix)
public void shutdown()
Copyright © 2025. All rights reserved.