Class ThreadFactoryUtil (2.15.5)

public class ThreadFactoryUtil

Inheritance

java.lang.Object > ThreadFactoryUtil

Static Methods

createVirtualOrPlatformDaemonThreadFactory(String arg0, boolean arg1)

public static ThreadFactory createVirtualOrPlatformDaemonThreadFactory(String arg0, boolean arg1)
Parameters
NameDescription
arg0String
arg1boolean
Returns
TypeDescription
ThreadFactory

tryCreateVirtualThreadFactory(String arg0)

public static ThreadFactory tryCreateVirtualThreadFactory(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
ThreadFactory

tryCreateVirtualThreadPerTaskExecutor(String arg0)

public static ExecutorService tryCreateVirtualThreadPerTaskExecutor(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
ExecutorService

Constructors

ThreadFactoryUtil()

public ThreadFactoryUtil()