Class KQueueAvailabilityCondition

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

@Internal public class KQueueAvailabilityCondition extends Object implements Condition
Checks if kqueue is available.
Author:
croudet
  • Constructor Details

    • KQueueAvailabilityCondition

      public KQueueAvailabilityCondition()
  • Method Details

    • matches

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