Class IoUringAvailabilityCondition

java.lang.Object
io.micronaut.http.netty.channel.IoUringAvailabilityCondition
All Implemented Interfaces:
Condition, Predicate<ConditionContext>

@Internal public class IoUringAvailabilityCondition extends Object implements Condition
Checks if io-uring is available.
Since:
4.0.0
Author:
Jonas Konrad
  • Constructor Details

    • IoUringAvailabilityCondition

      public IoUringAvailabilityCondition()
  • Method Details

    • matches

      public boolean matches(ConditionContext context)
      Checks if netty's io-uring native transport is available.
      Specified by:
      matches in interface Condition
      Parameters:
      context - The ConditionContext.
      Returns:
      true if the io-uring native transport is available.