netty5/transport/src/test/java/io/netty/channel
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
..
embedded Allow to set parent Channel when constructing EmbeddedChannel (#9230) 2019-06-08 09:11:31 -07:00
group fix the typos 2017-04-20 04:56:09 +02:00
local Fix race in ChannelReadHandler used during LocalChannel testing. (#7904) 2018-05-04 07:36:33 +02:00
nio Allow to specify a EventLoopTaskQueueFactory for various EventLoopGroup implementations (#9247) 2019-06-21 09:05:19 +02:00
oio More graceful registration failure 2013-12-21 18:08:58 +09:00
pool Make sync close for FixedChannelPool truly synchronous (#9226) 2019-06-14 12:01:14 +02:00
socket/nio NioServerSocketChannel.isActive() must return false after close() completes. (#9030) 2019-04-11 18:54:31 +02:00
AbstractChannelTest.java Include the original Exception that caused the Channel to be closed in the ClosedChannelException (#8863) 2019-02-15 13:13:17 -08:00
AbstractEventLoopTest.java [#4241] Ensure NioEventLoopGroup.shutdownGracefully(...) with no quiet period shutdown as fast as expected. 2016-08-05 07:21:17 +02:00
AdaptiveRecvByteBufAllocatorTest.java AdaptiveRecvByteBufAllocator should ramp up while reading 2017-12-03 17:25:31 -08:00
BaseChannelTest.java Revert "[#5028] Fix re-entrance issue with channelWritabilityChanged(...) and write(...)" 2016-04-09 20:32:47 +02:00
ChannelInitializerTest.java Fix flaky ChannelInitializerTest.testChannelInitializerEventExecutor() (#8738) 2019-01-21 09:01:04 +01:00
ChannelOptionTest.java Allow to get existing ChannelOption / AttributeKey from String 2015-02-18 09:29:37 +01:00
ChannelOutboundBufferTest.java Fix racy ChannelOutboundBuffer.testWriteTaskRejected test. (#8735) 2019-01-19 17:17:03 +01:00
CoalescingBufferQueueTest.java AbstractCoalescingBufferQueue addFirst void promise handling 2017-11-07 11:33:53 -08:00
CombinedChannelDuplexHandlerTest.java fix the typos 2017-04-20 04:56:09 +02:00
CompleteChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
DefaultChannelIdTest.java ByteBuf Input Stream Reference Count Ownership 2016-11-14 16:29:55 -08:00
DefaultChannelPipelineTailTest.java Update to new checkstyle plugin (#8777) (#8780) 2019-01-25 11:58:42 +01:00
DefaultChannelPipelineTest.java Skip execution of Channel*Handler method if annotated with @Skip and … (#8988) 2019-04-09 09:36:52 +02:00
DefaultChannelPromiseTest.java Fail fast when DefaultChannelPromise is constructed with null as Channel. 2018-01-18 18:57:42 +00:00
DefaultFileRegionTest.java DefaultFileRegion.transferTo with invalid count may cause busy-spin (#8885) 2019-02-26 11:08:09 +01:00
DelegatingChannelPromiseNotifierTest.java Make DelegatingChannelPromiseNotifier use Vararg overload 2017-07-28 07:29:43 +02:00
FailedChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
LoggingHandler.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
PendingWriteQueueTest.java PendingWriteQueue to handle write operations with void future 2018-03-16 08:23:40 +01:00
ReentrantChannelTest.java fix the typos 2017-04-20 04:56:09 +02:00
SimpleUserEventChannelHandlerTest.java Create SimpleUserEventChannelHandler convenience class (#7991) 2018-06-29 08:25:23 +02:00
SingleThreadEventLoopTest.java SingleThreadEventLoopTest failures 2016-10-11 09:09:53 +02:00
SucceededChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
ThreadPerChannelEventLoopGroupTest.java Add a EventLoopGroup.register(ChannelPromise) 2016-05-21 18:40:17 +02:00