| Package | Description | 
|---|---|
| io.netty.channel | The core channel API which is asynchronous and event-driven abstraction of
 various transports such as a
 NIO Channel. | 
| io.netty.channel.epoll | Optimized transport for linux which uses EPOLL Edge-Triggered Mode
 for maximal performance. | 
| io.netty.channel.local | A virtual transport that enables the communication between the two
 parties in the same virtual machine. | 
| io.netty.channel.nio | NIO-based channel
 API implementation - recommended for a large number of connections (>= 1000). | 
| io.netty.channel.oio | Old blocking I/O based channel API implementation - recommended for
 a small number of connections (< 1000). | 
| io.netty.util.concurrent | Utility classes for concurrent / async tasks. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | EventLoopWill handle all the I/O operations for a  Channelonce registered. | 
| interface  | EventLoopGroupSpecial  EventExecutorGroupwhich allows registeringChannels that get
 processed for later selection during the event loop. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MultithreadEventLoopGroupAbstract base class for  EventLoopGroupimplementations that handles their tasks with multiple threads at
 the same time. | 
| class  | SingleThreadEventLoopAbstract base class for  EventLoop's that execute all its submitted tasks in a single thread. | 
| class  | ThreadPerChannelEventLoopSingleThreadEventLoopwhich is used to handle OIOChannel's. | 
| class  | ThreadPerChannelEventLoopGroup | 
| Modifier and Type | Method and Description | 
|---|---|
| ChannelPipeline | DefaultChannelPipeline. addAfter(EventExecutorGroup group,
        java.lang.String baseName,
        java.lang.String name,
        ChannelHandler handler) | 
| ChannelPipeline | ChannelPipeline. addAfter(EventExecutorGroup group,
        java.lang.String baseName,
        java.lang.String name,
        ChannelHandler handler)Inserts a  ChannelHandlerafter an existing handler of this
 pipeline. | 
| ChannelPipeline | DefaultChannelPipeline. addBefore(EventExecutorGroup group,
         java.lang.String baseName,
         java.lang.String name,
         ChannelHandler handler) | 
| ChannelPipeline | ChannelPipeline. addBefore(EventExecutorGroup group,
         java.lang.String baseName,
         java.lang.String name,
         ChannelHandler handler)Inserts a  ChannelHandlerbefore an existing handler of this
 pipeline. | 
| ChannelPipeline | DefaultChannelPipeline. addFirst(EventExecutorGroup executor,
        ChannelHandler... handlers) | 
| ChannelPipeline | ChannelPipeline. addFirst(EventExecutorGroup group,
        ChannelHandler... handlers)Inserts  ChannelHandlers at the first position of this pipeline. | 
| ChannelPipeline | DefaultChannelPipeline. addFirst(EventExecutorGroup group,
        java.lang.String name,
        ChannelHandler handler) | 
| ChannelPipeline | ChannelPipeline. addFirst(EventExecutorGroup group,
        java.lang.String name,
        ChannelHandler handler)Inserts a  ChannelHandlerat the first position of this pipeline. | 
| ChannelPipeline | DefaultChannelPipeline. addLast(EventExecutorGroup executor,
       ChannelHandler... handlers) | 
| ChannelPipeline | ChannelPipeline. addLast(EventExecutorGroup group,
       ChannelHandler... handlers)Inserts  ChannelHandlers at the last position of this pipeline. | 
| ChannelPipeline | DefaultChannelPipeline. addLast(EventExecutorGroup group,
       java.lang.String name,
       ChannelHandler handler) | 
| ChannelPipeline | ChannelPipeline. addLast(EventExecutorGroup group,
       java.lang.String name,
       ChannelHandler handler)Appends a  ChannelHandlerat the last position of this pipeline. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EpollEventLoopGroupEventLoopGroupwhich uses epoll under the covers. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LocalEventLoopGroupMultithreadEventLoopGroupwhich must be used for the local transport. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | NioEventLoopSingleThreadEventLoopimplementation which register theChannel's to aSelectorand so does the multi-plexing of these in the event loop. | 
| class  | NioEventLoopGroup | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | OioEventLoopGroupEventLoopGroupwhich is used to handle OIOChannel's. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | EventExecutorThe  EventExecutoris a specialEventExecutorGroupwhich comes
 with some handy methods to see if aThreadis executed in a event loop. | 
| interface  | OrderedEventExecutorMarker interface for  EventExecutors that will process all submitted tasks in an ordered / serial fashion. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractEventExecutorAbstract base class for  EventExecutorimplementations. | 
| class  | AbstractEventExecutorGroupAbstract base class for  EventExecutorGroupimplementations. | 
| class  | AbstractScheduledEventExecutorAbstract base class for  EventExecutors that want to support scheduling. | 
| class  | DefaultEventExecutorGroupDefault implementation of  MultithreadEventExecutorGroupwhich will useDefaultEventExecutorinstances
 to handle the tasks. | 
| class  | GlobalEventExecutorSingle-thread singleton  EventExecutor. | 
| class  | ImmediateEventExecutorExecutes  Runnableobjects in the caller's thread. | 
| class  | MultithreadEventExecutorGroupAbstract base class for  EventExecutorGroupimplementations that handles their tasks with multiple threads at
 the same time. | 
| class  | SingleThreadEventExecutorAbstract base class for  OrderedEventExecutor's that execute all its submitted tasks in a single thread. | 
| class  | UnorderedThreadPoolEventExecutorEventExecutorimplementation which makes no guarantees about the ordering of task execution that
 are submitted because there may be multiple threads executing these tasks. | 
| Modifier and Type | Method and Description | 
|---|---|
| EventExecutorGroup | UnorderedThreadPoolEventExecutor. parent() | 
| EventExecutorGroup | SingleThreadEventExecutor. parent() | 
| EventExecutorGroup | ImmediateEventExecutor. parent() | 
| EventExecutorGroup | GlobalEventExecutor. parent() | 
| EventExecutorGroup | EventExecutor. parent()Return the  EventExecutorGroupwhich is the parent of thisEventExecutor, | 
| Constructor and Description | 
|---|
| SingleThreadEventExecutor(EventExecutorGroup parent,
                         java.util.concurrent.ThreadFactory threadFactory,
                         boolean addTaskWakesUp)Create a new instance | 
| SingleThreadEventExecutor(EventExecutorGroup parent,
                         java.util.concurrent.ThreadFactory threadFactory,
                         boolean addTaskWakesUp,
                         int maxPendingTasks,
                         RejectedExecutionHandler rejectedHandler)Create a new instance | 
Copyright © 2008–2018 The Netty Project. All rights reserved.