public class ExecutorUtils extends java.lang.Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available.
public static java.util.concurrent.ExecutorService newCachedThreadPool(boolean daemon, java.lang.String baseName)
daemon- true to create the new threads as daemon threads or false to create the new threads as user threads
baseName- the base/prefix to use for the names of the new threads or null to leave them with their default names
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.