Class EventLoopGroups

java.lang.Object
com.couchbase.client.core.io.netty.EventLoopGroups

@Internal public class EventLoopGroups extends Object
Utility methods for working with EventLoopGroups.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Class<? extends com.couchbase.client.core.deps.io.netty.channel.Channel>
    channelType(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
    Returns the correct channel class for the given event loop group.
    static boolean
    isEpoll(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)
     
    static boolean
    isKQueue(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)
     
    static boolean
    isLocal(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)
     
    static boolean
    isNio(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)
     
    static com.couchbase.client.core.deps.io.netty.channel.IoHandlerFactory
    newIoHandlerFactory(boolean nativeIoEnabled)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newIoHandlerFactory

      public static com.couchbase.client.core.deps.io.netty.channel.IoHandlerFactory newIoHandlerFactory(boolean nativeIoEnabled)
    • channelType

      public static Class<? extends com.couchbase.client.core.deps.io.netty.channel.Channel> channelType(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
      Returns the correct channel class for the given event loop group.
    • isKQueue

      public static boolean isKQueue(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)
    • isEpoll

      public static boolean isEpoll(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)
    • isNio

      public static boolean isNio(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)
    • isLocal

      public static boolean isLocal(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group)