Class DaemonThreadPoolProvider
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.resources.DaemonThreadPoolProvider
-
public class DaemonThreadPoolProvider extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classDaemonThreadPoolProvider.DaemonThreadFactoryThis is copypasted default factory from java.util.concurrent.Executors.
-
Field Summary
Fields Modifier and Type Field Description private static java.util.concurrent.ExecutorServiceDAEMON_THREAD_POOL
-
Constructor Summary
Constructors Constructor Description DaemonThreadPoolProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.ExecutorServicecreateCachedDaemonThreadPool()static java.util.concurrent.ExecutorServicecreateFixedDaemonThreadPool(int numThreads)static java.util.concurrent.ExecutorServicecreateSingletonDaemonThreadPool()static java.util.concurrent.ExecutorServiceglobalFixedThreadPool()
-
-
-
Method Detail
-
globalFixedThreadPool
public static java.util.concurrent.ExecutorService globalFixedThreadPool()
-
createCachedDaemonThreadPool
public static java.util.concurrent.ExecutorService createCachedDaemonThreadPool()
-
createFixedDaemonThreadPool
public static java.util.concurrent.ExecutorService createFixedDaemonThreadPool(int numThreads)
-
createSingletonDaemonThreadPool
public static java.util.concurrent.ExecutorService createSingletonDaemonThreadPool()
-
-