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 voidrebuildSelector()Replaces the currentSelectorwith a newSelectorto work around the infamous epoll 100% CPU bug.voidregister(Channel channel, ChannelFuture future)voidshutdown()
-
-
-
Method Detail
-
register
void register(Channel channel, ChannelFuture future)
-
rebuildSelector
void rebuildSelector()
Replaces the currentSelectorwith a newSelectorto work around the infamous epoll 100% CPU bug.
-
shutdown
void shutdown()
-
-