Class LoomSupport.LoomCondition

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

@Internal @Deprecated(since="5.2.1", forRemoval=true) public static class LoomSupport.LoomCondition extends Object implements Condition
Deprecated, for removal: This API element is subject to removal in a future version.
Virtual threads are always supported, to be removed, see #13119.
Condition that always matches, virtual threads are always supported.
Since:
4.0.0
  • Constructor Details

    • LoomCondition

      public LoomCondition()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • matches

      public boolean matches(ConditionContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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