Package io.netty.channel.oio
Class OioEventLoopGroup
- java.lang.Object
-
- io.netty.util.concurrent.AbstractEventExecutorGroup
-
- io.netty.channel.ThreadPerChannelEventLoopGroup
-
- io.netty.channel.oio.OioEventLoopGroup
-
- All Implemented Interfaces:
EventLoopGroup,EventExecutorGroup,java.lang.Iterable<EventExecutor>,java.util.concurrent.Executor,java.util.concurrent.ExecutorService,java.util.concurrent.ScheduledExecutorService
@Deprecated public class OioEventLoopGroup extends ThreadPerChannelEventLoopGroup
Deprecated.use NIO / EPOLL / KQUEUE transport.EventLoopGroupwhich is used to handle OIOChannel's. EachChannelwill be handled by its ownEventLoopto not block others.
-
-
Constructor Summary
Constructors Constructor Description OioEventLoopGroup()Deprecated.Create a newOioEventLoopGroupwith no limit in place.OioEventLoopGroup(int maxChannels)Deprecated.Create a newOioEventLoopGroup.OioEventLoopGroup(int maxChannels, java.util.concurrent.Executor executor)Deprecated.Create a newOioEventLoopGroup.OioEventLoopGroup(int maxChannels, java.util.concurrent.ThreadFactory threadFactory)Deprecated.Create a newOioEventLoopGroup.
-
Method Summary
-
Methods inherited from class io.netty.channel.ThreadPerChannelEventLoopGroup
awaitTermination, isShutdown, isShuttingDown, isTerminated, iterator, newChild, next, register, register, register, shutdown, shutdownGracefully, terminationFuture
-
Methods inherited from class io.netty.util.concurrent.AbstractEventExecutorGroup
execute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty.util.concurrent.EventExecutorGroup
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit, ticker
-
-
-
-
Constructor Detail
-
OioEventLoopGroup
public OioEventLoopGroup()
Deprecated.Create a newOioEventLoopGroupwith no limit in place.
-
OioEventLoopGroup
public OioEventLoopGroup(int maxChannels)
Deprecated.Create a newOioEventLoopGroup.- Parameters:
maxChannels- the maximum number of channels to handle with this instance. Once you try to register a newChanneland the maximum is exceed it will throw anChannelExceptionon theThreadPerChannelEventLoopGroup.register(Channel)andThreadPerChannelEventLoopGroup.register(ChannelPromise)method. Use0to use no limit
-
OioEventLoopGroup
public OioEventLoopGroup(int maxChannels, java.util.concurrent.Executor executor)Deprecated.Create a newOioEventLoopGroup.- Parameters:
maxChannels- the maximum number of channels to handle with this instance. Once you try to register a newChanneland the maximum is exceed it will throw anChannelExceptionon theThreadPerChannelEventLoopGroup.register(Channel)andThreadPerChannelEventLoopGroup.register(ChannelPromise)method. Use0to use no limitexecutor- theExecutorused to create newThreadinstances that handle the registeredChannels
-
OioEventLoopGroup
public OioEventLoopGroup(int maxChannels, java.util.concurrent.ThreadFactory threadFactory)Deprecated.Create a newOioEventLoopGroup.- Parameters:
maxChannels- the maximum number of channels to handle with this instance. Once you try to register a newChanneland the maximum is exceed it will throw anChannelExceptionon theThreadPerChannelEventLoopGroup.register(Channel)andThreadPerChannelEventLoopGroup.register(ChannelPromise)method. Use0to use no limitthreadFactory- theThreadFactoryused to create newThreadinstances that handle the registeredChannels
-
-