Deprecated
this will be remove in the next-major release.
SingleThreadEventLoop which is used to handle OIO Channel's. So in general there will be
one ThreadPerChannelEventLoop per Channel.
| Modifier and Type | Field and Description |
|---|---|
| private Channel | |
| private final ThreadPerChannelEventLoopGroup | parent
Hides io.
Deprecated
as a consequence of
ThreadPerChannelEventLoopGroup being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | ThreadPerChannelEventLoop(ThreadPerChannelEventLoopGroup parent)
Deprecated
as a consequence of
ThreadPerChannelEventLoopGroup being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public ChannelFuture | register(ChannelPromise promise)
Overrides io. Implements io. Channel with this EventLoop using a ChannelFuture.
|
| public ChannelFuture | register(Channel channel, ChannelPromise promise)
Overrides io. Implements io.
Deprecated
Register a Channel with this EventLoop.
|
| public int | registeredChannels()
Overrides io. Channels registered with this EventLoop or -1
if operation is not supported.
|
| protected void | run()
Implements abstract io. taskQueue
|
| ch | back to summary |
|---|---|
| private Channel ch | |
| parent | back to summary |
|---|---|
| private final ThreadPerChannelEventLoopGroup parent Hides io. Deprecated as a consequence of | |
| ThreadPerChannelEventLoop | back to summary |
|---|---|
| public ThreadPerChannelEventLoop(ThreadPerChannelEventLoopGroup parent)
Deprecated as a consequence of | |
| deregister | back to summary |
|---|---|
| protected void deregister() | |
| register | back to summary |
|---|---|
| public ChannelFuture register(ChannelPromise promise) Overrides io. Implements io. Doc from io. Register a
| |
| register | back to summary |
|---|---|
| public ChannelFuture register(Channel channel, ChannelPromise promise) Overrides io. Implements io. Doc from io. Deprecated
Register a
| |
| registeredChannels | back to summary |
|---|---|
| public int registeredChannels() Overrides io. Doc from io. Returns the number of
| |
| run | back to summary |
|---|---|
| protected void run() Implements abstract io. Doc from io. Run the tasks in the
| |