netty5/transport-native-epoll/src/test/java
Norman Maurer c9aaa93d83
Allow to specify a EventLoopTaskQueueFactory for various EventLoopGroup implementations (#9247)
Motivation:

Sometimes it is desirable to be able to use a different Queue implementation for the EventLoop of a Channel. This is currently not possible without resort to reflection.

Modifications:

- Add a new constructor to Nio|Epoll|KQueueEventLoopGroup which allows to specify a factory which is used to create the task queue. This was the user can override the default implementation.
- Add test

Result:

Be able to change Queue that is used for the EventLoop.
2019-06-21 09:05:19 +02:00
..
io/netty/channel/epoll Allow to specify a EventLoopTaskQueueFactory for various EventLoopGroup implementations (#9247) 2019-06-21 09:05:19 +02:00