Class ThreadFactoryUtil (2.20.1)

public class ThreadFactoryUtil

Inheritance

java.lang.Object > ThreadFactoryUtil

Static Methods

createVirtualOrPlatformDaemonThreadFactory(String arg0, boolean arg1)

public static ThreadFactory createVirtualOrPlatformDaemonThreadFactory(String arg0, boolean arg1)
Parameters
Name Description
arg0 String
arg1 boolean
Returns
Type Description
ThreadFactory

tryCreateVirtualThreadFactory(String arg0)

public static ThreadFactory tryCreateVirtualThreadFactory(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ThreadFactory

tryCreateVirtualThreadPerTaskExecutor(String arg0)

public static ExecutorService tryCreateVirtualThreadPerTaskExecutor(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ExecutorService

Constructors

ThreadFactoryUtil()

public ThreadFactoryUtil()