netty5/microbench/src/main/java/io/netty
Norman Maurer 1fe931b6e2
Make it possible to use a wrapped EventLoop with a Channel (#8677)
Motiviation:

Because of how we implemented the registration / deregistration of an EventLoop it was not possible to wrap an EventLoop implementation and use it with a Channel.

Modification:

- Introduce EventLoop.Unsafe which is responsible for the actual registration.
- Move validation of EventLoop / Channel combo to the EventLoop
- Add unit test that verifies that wrapping works

Result:

Be able to wrap an EventLoop and so add some extra functionality.
2019-01-17 09:17:51 +01:00
..
buffer Streamline CompositeByteBuf internals (#8437) 2018-11-03 10:37:07 +01:00
handler/codec Remove support for marking reader and writerIndex in ByteBuf to reduce overhead and complexity. (#8636) 2018-12-11 14:00:49 +01:00
microbench Make it possible to use a wrapped EventLoop with a Channel (#8677) 2019-01-17 09:17:51 +01:00
microbenchmark/common Update NetUtilBenchmark (#7826) 2018-03-31 08:27:08 +02:00