Class EpollAvailabilityCondition

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

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

    • EpollAvailabilityCondition

      public EpollAvailabilityCondition()
  • Method Details

    • matches

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