Interface NioSelector
-
- All Superinterfaces:
java.lang.Runnable
- All Known Subinterfaces:
Boss
- All Known Implementing Classes:
AbstractNioSelector
,AbstractNioWorker
,NioClientBoss
,NioDatagramWorker
,NioServerBoss
,NioWorker
public interface NioSelector extends java.lang.Runnable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
rebuildSelector()
Replaces the currentSelector
with a newSelector
to work around the infamous epoll 100% CPU bug.void
register(Channel channel, ChannelFuture future)
void
shutdown()
-
-
-
Method Detail
-
register
void register(Channel channel, ChannelFuture future)
-
rebuildSelector
void rebuildSelector()
Replaces the currentSelector
with a newSelector
to work around the infamous epoll 100% CPU bug.
-
shutdown
void shutdown()
-
-