Class LoomSupport

java.lang.Object
io.micronaut.scheduling.LoomSupport

@Internal public final class LoomSupport extends Object
Since:
4.0.0
  • Method Details

    • isSupported

      public static boolean isSupported()
    • checkSupported

      public static void checkSupported()
    • newVirtualThreadFactory

      public static ThreadFactory newVirtualThreadFactory(String namePrefix, Consumer<Object> builderModifier)
    • unstarted

      public static Thread unstarted(String name, Consumer<Object> builderModifier, Runnable task)
    • newThreadPerTaskExecutor

      public static ExecutorService newThreadPerTaskExecutor(ThreadFactory threadFactory)
    • newVirtualThreadFactory

      public static ThreadFactory newVirtualThreadFactory(String namePrefix)
    • isVirtual

      public static boolean isVirtual(Thread thread)