Class EventLoopGroups
java.lang.Object
com.couchbase.client.core.io.netty.EventLoopGroups
Utility methods for working with EventLoopGroups.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 booleanisEpoll(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group) static booleanisKQueue(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group) static booleanisLocal(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group) static booleanisNio(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup group) static com.couchbase.client.core.deps.io.netty.channel.IoHandlerFactorynewIoHandlerFactory(boolean nativeIoEnabled)
-
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)
-