Package io.micronaut.scheduling
Class LoomSupport
java.lang.Object
io.micronaut.scheduling.LoomSupport
- Since:
- 4.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Condition that only matches if virtual threads are supported on this platform. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static boolean
static ExecutorService
newThreadPerTaskExecutor
(ThreadFactory threadFactory) static ThreadFactory
newVirtualThreadFactory
(String namePrefix)
-
Method Details
-
isSupported
public static boolean isSupported() -
checkSupported
public static void checkSupported() -
newThreadPerTaskExecutor
-
newVirtualThreadFactory
-