Class LoomSupport.LoomCondition

java.lang.Object
io.micronaut.scheduling.LoomSupport.LoomCondition
All Implemented Interfaces:
Condition, Predicate<ConditionContext>
Enclosing class:
LoomSupport

@Internal public static class LoomSupport.LoomCondition extends Object implements Condition
Condition that only matches if virtual threads are supported on this platform.
  • Constructor Details

    • LoomCondition

      public LoomCondition()
  • Method Details

    • matches

      public boolean matches(ConditionContext context)
      Description copied from interface: Condition
      Check whether a specific condition is met.
      Specified by:
      matches in interface Condition
      Parameters:
      context - The condition context
      Returns:
      True if has been met