Uses of Class
org.apache.hugegraph.computer.core.network.IOMode
-
Packages that use IOMode Package Description org.apache.hugegraph.computer.core.network org.apache.hugegraph.computer.core.network.netty -
-
Uses of IOMode in org.apache.hugegraph.computer.core.network
Methods in org.apache.hugegraph.computer.core.network that return IOMode Modifier and Type Method Description IOModeTransportConf. ioMode()IO mode: nio or epollstatic IOModeIOMode. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IOMode[]IOMode. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of IOMode in org.apache.hugegraph.computer.core.network.netty
Methods in org.apache.hugegraph.computer.core.network.netty with parameters of type IOMode Modifier and Type Method Description static java.lang.Class<? extends io.netty.channel.Channel>NettyEventLoopUtil. clientChannelClass(IOMode mode)Returns the correct (client) SocketChannel class based on IOMode.static io.netty.channel.EventLoopGroupNettyEventLoopUtil. createEventLoop(IOMode mode, int numThreads, java.lang.String prefix)Create a Netty EventLoopGroup based on the IOMode.static voidNettyEventLoopUtil. enableTriggeredMode(IOMode ioMode, boolean enableLt, io.netty.bootstrap.ServerBootstrap serverBootstrap)UseEpollMode.LEVEL_TRIGGEREDfor server bootstrap if level trigger enabled by system properties, otherwise useEpollMode.EDGE_TRIGGERED.static java.lang.Class<? extends io.netty.channel.ServerChannel>NettyEventLoopUtil. serverChannelClass(IOMode mode)Returns the correct ServerSocketChannel class based on IOMode.
-